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

# freeswitch ip telephony switch

case "$1" in
        /usr/local/freeswitch/bin/freeswitch -nc
        echo started

        /usr/local/freeswitch/bin/freeswitch -stop
        echo "Usage: $0 { start | stop }"
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
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License