[sr-dev] debian buster systemd pid file location

Juha Heinanen jh at tutpro.com
Thu Oct 17 20:17:25 CEST 2019


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



More information about the sr-dev mailing list