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

This commit is contained in:
erxspin 2017-02-23 23:50:31 +06:00 committed by FusionPBX
parent e76a036f70
commit 7f8b12dcb1
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#setup owner and group, permissions and sticky #setup owner and group, permissions and sticky
chown -R www-data:www-data /usr/local/freeswitch chown -R www-data:www-data /usr/local/freeswitch
chmod -R ug+rw /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 {} \; find /usr/local/freeswitch -type d -exec chmod 2770 {} \;