pkg/kamailio: Added systemd unit relanch after non null exit code. Fix of ticket...
[sip-router] / pkg / kamailio / fedora / 17 / kamailio.service
1 [Unit]
2 Description=Kamailio (OpenSER) - the Open Source SIP Server
3 Documentation=man:kamailio(8) https://www.kamailio.org/
4 Wants=network-online.target
5 After=syslog.target network-online.target
6
7 [Service]
8 Type=forking
9 EnvironmentFile=/etc/sysconfig/kamailio
10 PIDFile=/var/run/kamailio.pid
11 ExecStart=/usr/sbin/kamailio -P /var/run/kamailio.pid $OPTIONS
12 ExecStopPost=/usr/bin/rm -f /var/run/kamailio.pid
13 Restart=on-failure
14
15 [Install]
16 WantedBy=multi-user.target