bird systemd startup init debian

Wilco Baan Hofman wilco at baanhofman.nl
Tue Mar 6 10:42:13 CET 2018



On 06/03/18 03:33, Rob Lister wrote:
> 
> Hi,
> 
> I'm working on upgrading our route servers to the latest versions
> (debian stretch and the bird debian package 1.6.3.
> 
> I need to specify during startup "-c /path/to/config/file" but whatever
> I do, it just gets ignored and still tries to use /etc/bird/bird.conf
> 
> I have tried:
> 
> - Editing /etc/init.d/bird and adding BIRD_ARGS="-c
> /etc/bird/bird-vlanid1-ipv4.conf"
> - Editing /etc/defaults/bird (deprecated??)

Editing arguments should be done in /etc/defaults/bird, not in /etc/init.d.


> - Editing /etc/bird/envvars
> - Editing the systemctl with "systemctl edit bird.service" as suggested
> here:
> 
> https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1503154.html
> 
> 
> 
> - Restarting systemctl daemon-reload

This only re-reads the systemd configuration file. Try "service bird
restart" (because reload only causes bird to reread the bird config and
if you want new command line arguments, restart bird)

--

Wilco


More information about the Bird-users mailing list