mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
[Core] Add systemd sd_notify support
This commit is contained in:
1 parent
9f0656a6ba
commit
d6de1d9af7
4 files changed
+28
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user