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: 1227406198|%e %b %Y, %H:%M %Z (%O ago)





