Update and rename source_systemd.sh to source-systemd.sh

This commit is contained in:
FusionPBX 2016-08-16 11:39:48 -06:00 committed by GitHub
parent 08faf384a3
commit 293f5ae63c
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,6 @@
cp "$(dirname $0)/source/freeswitch.service" /lib/systemd/system/freeswitch.service
cp "$(dirname $0)/source/etc.default.freeswitch.source" /etc/default/freeswitch
sed -i /lib/systemd/system/freeswitch.service -e s:'-u freeswitch -g freeswitch:-u www-data -g www-data:'
systemctl enable freeswitch
systemctl unmask freeswitch.service
systemctl daemon-reload

View File

@ -1 +0,0 @@