Hi Teun, this would be a very disruptive change for existing users, and upcoming bird 2.0 should merge IPv4 and IPv6 daemons into one anyway.
I would recommend using: systemctl edit bird.service and systemctl edit bird6.service and add: # bird.service [Service] ExecStart= ExecStart=/usr/sbin/bird -f -u $BIRD_RUN_USER -g $BIRD_RUN_GROUP $BIRD_ARGS -P /var/run/bird/bird.pid # bird6.service [Service] ExecStart= ExecStart=/usr/sbin/bird -f -u $BIRD_RUN_USER -g $BIRD_RUN_GROUP $BIRD_ARGS -P /var/run/bird/bird6.pid However this is not necessary with systemd. Same can be done by editing /etc/init.d/bird and /etc/init.d/bird6 files. Your changes won't be replaced automatically by packaging system. Or I would accept a patch for sysvrc scripts to create pidfiles by default. Cheers, -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware, fast DNS(SEC) resolver Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro pečení chleba všeho druhu On Tue, Feb 28, 2017, at 15:50, Teun wrote: > Package: bird > Version: 1.6.3-2 > Severity: normal > > Dear Maintainer, > > I would like to set a PID file using BIRD_ARGS in /etc/bird/envvars for > monitoring the process, but it is used for both bird and bird6 which are > separate processes. > > Maybe you could update the bird6.service file to use $BIRD6_ARGS and set > it to > $BIRD_ARGS in envvars so I can add separate "-P /var/run/bird/bird.pid" > and > "-P /var/run/bird/bird6.pid" arguments. > > Regards, > Teun Kloosterman > > > > -- System Information: > Debian Release: 8.7 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.9.0-0.bpo.1-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: sysvinit (via /sbin/init)