[Unit] Description=FreeSWITCH Configured for Kazoo After=syslog.target network.target After=postgresql.service postgresql-9.3.service postgresql-9.4.service mysqld.service httpd.service [Service] # RuntimeDirectory is not yet supported in CentOS 7. A workaround is to use /etc/tmpfiles.d/freeswitch.conf #RuntimeDirectory=/run/freeswitch #RuntimeDirectoryMode=0750 WorkingDirectory=/run/freeswitch ExecStart=/usr/sbin/kazoo-freeswitch foreground -nc -nf ExecReload=/usr/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target