Update fail2ban jail.local
This commit is contained in:
parent
603568893c
commit
0e3f626c6e
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue