Looks like systemd service pid files should nowadays be placed in /run
dir instead of /var/run.  I noticed this when I got complaint about
fail2ban to syslog:

Oct 17 20:59:35 lab systemd[1]: /lib/systemd/system/fail2ban.service:12: 
PIDFile= references path below legacy directory /var/run/, updating 
/var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the 
unit file accordingly.

I haven't tried yet with Kamailio, but suspect that a similar warning
would be issued.  So how about making the change in

https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/deb/buster/kamailio.service

-- Juha

_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to