mirror of
https://github.com/coturn/coturn.git
synced 2025-05-14 09:36:49 +08:00
Change rpm systemd service type from notify to exec (#1043)
Fix the issue https://github.com/coturn/coturn/issues/118 that prevent the process to start as coturn never send the notification to systemd thus preventing the startup. Cherry-picked from #990 thanks to @rapsys
This commit is contained in:
parent
1148ed7d0d
commit
27e5dd6e23
@ -6,7 +6,8 @@ After=syslog.target network.target
|
||||
[Service]
|
||||
User=turnserver
|
||||
Group=turnserver
|
||||
Type=notify
|
||||
Type=exec
|
||||
PIDFile=/var/run/turnserver/turnserver.pid
|
||||
EnvironmentFile=/etc/sysconfig/turnserver
|
||||
ExecStart=/usr/bin/turnserver -c /etc/turnserver/turnserver.conf $EXTRA_OPTIONS
|
||||
ExecStopPost=/usr/bin/rm -f /var/run/turnserver/turnserver.pid
|
||||
|
Loading…
x
Reference in New Issue
Block a user