From f955a9dabc2349d7f61777c0216deca0c3e8515f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 16 Aug 2016 12:14:03 -0600 Subject: [PATCH] Update source-systemd.sh --- debian/resources/switch/source-systemd.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/resources/switch/source-systemd.sh b/debian/resources/switch/source-systemd.sh index 5feb6f6..dc34e3d 100644 --- a/debian/resources/switch/source-systemd.sh +++ b/debian/resources/switch/source-systemd.sh @@ -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