mirror of https://github.com/sipwise/rtpengine.git
Properly switching to native systemd service files is too intrusive for these services at this point of the release cycle. Let's use this hack for now, and then convert these to the serveral .service, and .mount units required. Change-Id: I8f66bfd8be5924232bf2c34d42b18d2a332db3eechanges/41/20541/1
parent
feafaf3d16
commit
aee2a27c3e
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=NGCP RTP/media Proxy Daemon
|
||||
After=network-online.target
|
||||
After=remote-fs.target
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=no
|
||||
TimeoutSec=5min
|
||||
IgnoreSIGPIPE=no
|
||||
KillMode=process
|
||||
RemainAfterExit=yes
|
||||
SuccessExitStatus=5 6
|
||||
PIDFile=/run/rtpengine.pid
|
||||
ExecStart=/etc/init.d/ngcp-rtpengine-daemon start
|
||||
ExecStop=/etc/init.d/ngcp-rtpengine-daemon stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=NGCP RTP/media Recording Daemon
|
||||
After=network-online.target
|
||||
After=remote-fs.target
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=no
|
||||
TimeoutSec=5min
|
||||
IgnoreSIGPIPE=no
|
||||
KillMode=process
|
||||
RemainAfterExit=yes
|
||||
SuccessExitStatus=5 6
|
||||
PIDFile=/run/ngcp-rtpengine-recording-daemon.pid
|
||||
ExecStart=/etc/init.d/ngcp-rtpengine-recording-daemon start
|
||||
ExecStop=/etc/init.d/ngcp-rtpengine-recording-daemon stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in new issue