forked from norman/fusionpbx-install.sh-github-mirror
Update fail2ban jail.local
This commit is contained in:
4
debian/resources/switch/source-to-package.sh
vendored
4
debian/resources/switch/source-to-package.sh
vendored
@@ -13,6 +13,10 @@ $(dirname $0)/package-release.sh
|
|||||||
#install freeswitch systemd.d
|
#install freeswitch systemd.d
|
||||||
$(dirname $0)/package-systemd.sh
|
$(dirname $0)/package-systemd.sh
|
||||||
|
|
||||||
|
#update fail2ban
|
||||||
|
sed -i /etc/fail2ban/jail.local -e s:'/usr/local/freeswitch/log:/var/log/freeswitch:'
|
||||||
|
sytemctl restart fail2ban
|
||||||
|
|
||||||
#move source files to package directories
|
#move source files to package directories
|
||||||
rsync -avz /usr/local/freeswitch/conf /etc/freeswitch
|
rsync -avz /usr/local/freeswitch/conf /etc/freeswitch
|
||||||
rsync -avz /usr/local/freeswitch/recordings /var/lib/freeswitch
|
rsync -avz /usr/local/freeswitch/recordings /var/lib/freeswitch
|
||||||
|
|||||||
Reference in New Issue
Block a user