forked from norman/fusionpbx-install.sh-github-mirror
Update source-systemd.sh
This commit is contained in:
5
debian/resources/switch/source-systemd.sh
vendored
5
debian/resources/switch/source-systemd.sh
vendored
@@ -1,6 +1,5 @@
|
||||
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:'
|
||||
cp "$(dirname $0)/source/freeswitch.service.source" /lib/systemd/system/freeswitch.service
|
||||
cp "$(dirname $0)/source/etc.default.freeswitch" /etc/default/freeswitch
|
||||
systemctl enable freeswitch
|
||||
systemctl unmask freeswitch.service
|
||||
systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user