fusionpbx-install.sh/debian/resources/switch/source-systemd.sh

6 lines
252 B
Bash

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