I have 1.4.21~35-1~jessie+1 running on Jessie - got stung by this bug on reboot of the server (errors from systemd were NOT helpful - putting them here for the next guy).
ERRORS START <<< -- Unit freeswitch.service has failed. -- -- The result is failed. Sep 03 21:58:31 malaysia systemd[1]: Unit freeswitch.service entered failed state. Sep 03 21:58:31 malaysia systemd[11999]: Failed at step CHDIR spawning /bin/mkdir: No such file or directory -- Subject: Process /bin/mkdir could not be executed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The process /bin/mkdir could not be executed and failed. -- -- The error number returned while executing this process is 2. Sep 03 21:58:31 malaysia systemd[1]: freeswitch.service: control process exited, code=exited status=200 Sep 03 21:58:31 malaysia systemd[1]: Failed to start freeswitch. -- Subject: Unit freeswitch.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit freeswitch.service has failed. ERRORS END <<<
/var/run is now a simlink to /var/run so there is no reason to edit the freeswitch.service file. (the /var/lock directory is also now a simlink to /run/lock - don't think we use that). Then I have to: $ cd /run $ mkdir freeswitch $ chown root.freeswitch freeswitch/ $ systemctl enable freeswitch.service Still fails over reboot - the /run/freeswitch directory should be recreated on every startup - but it isn't happening. /run is a tmpfs so it is supposed to disappear over reboots - Hope this helps -- Also - a few notes to others learning systemd here: https://wiki.xtronics.com/index.php/Systemd_Cheatsheet -------------------------------------------------------------------------------- Link to our website and get free US-48 shipping on your next order. Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB https://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-3089 Against the assault of laughter nothing can stand. -- Mark Twain --------------------------------------------------------------------------------