Start Freeswitch On System Startup
FreeSWITCH init.d script
NOTE: a newer/better version can probably be found in the freeswitch project. Please look for that first and post a link if you find it.
Create /etc/init.d/freeswitch
#!/bin/sh
# freeswitch ip telephony switch
case "$1" in
'start')
/usr/local/freeswitch/bin/freeswitch -nc
echo started
;;
'stop')
/usr/local/freeswitch/bin/freeswitch -stop
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
- change permissions as needed, eg, chmod a+x /etc/init.d/freeswitch
- and set it to run on system boot by issuing the command
update-rc.d freeswitch defaults 91
page revision: 0, last edited: 23 Nov 2008 02:09





