[Core] Add systemd sd_notify support

This commit is contained in:
VCC Live/Core authored and Andrey Volk committed 2021-10-23 21:59:52 +03:00
1 parent 9f0656a6ba
commit d6de1d9af7
4 files changed
+28 -1

No files matched your search

+4
View File
@@ -4,6 +4,10 @@ After=syslog.target network.target
After=postgresql.service postgresql-9.3.service postgresql-9.4.service mysqld.service httpd.service
[Service]
# You can use Type=notify only if you compile FreeSWITCH with --enable-systemd configure option
# In this case you have to run FreeSWITCH in foreground mode (-nf option)!
#Type=notify
#NotifyAccess=main
User=freeswitch
EnvironmentFile=-/etc/sysconfig/freeswitch
# RuntimeDirectory is not yet supported in CentOS 7. A workaround is to use /etc/tmpfiles.d/freeswitch.conf