Update fail2ban jail.local

This commit is contained in:
markjcrane 2016-08-23 01:52:34 +00:00
parent 603568893c
commit 0e3f626c6e
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ $(dirname $0)/package-release.sh
#install freeswitch systemd.d
$(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
rsync -avz /usr/local/freeswitch/conf /etc/freeswitch
rsync -avz /usr/local/freeswitch/recordings /var/lib/freeswitch