prevent fail2ban service start failure by touching and setting owner of file freeswitch.log (recommited)

This commit is contained in:
erxspin 2017-02-20 00:03:15 +06:00
parent fbdca20dee
commit 4af51299d8
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#setup owner and group, permissions and sticky
chown -R www-data:www-data /usr/local/freeswitch
chmod -R ug+rw /usr/local/freeswitch
touch /var/log/freeswitch/freeswitch.log
chown -R www-data:www-data /var/log/freeswitch
find /usr/local/freeswitch -type d -exec chmod 2770 {} \;