[sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

Anthony Messina notifications at github.com
Fri Nov 22 22:06:20 CET 2019


@miconda, @sergey-safarov, @linuxmaniac thank you.  I confirm this now works atop branch 5.3 with the following in `/lib/systemd/system/kamailio.service`
```
[Unit]
Description=Kamailio SIP Server
Documentation=man:kamailio(8) https://www.kamailio.org/
After=network.target

[Service]
Type=notify
User=kamailio
Environment=SHM_SIZE=128 PKG_SIZE=8
ExecStartPre=/usr/sbin/kamailio -c
ExecStart=/usr/sbin/kamailio -DD -m $SHM_SIZE -M $PKG_SIZE
ProtectHome=true
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target
```

Now, onto #799 ...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2139#issuecomment-557694254
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191122/8be879aa/attachment-0001.html>


More information about the sr-dev mailing list