diff --git a/debian/resources/switch/source-to-package.sh b/debian/resources/switch/source-to-package.sh index 381409f..2af5262 100755 --- a/debian/resources/switch/source-to-package.sh +++ b/debian/resources/switch/source-to-package.sh @@ -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