[Buildroot] [PATCH v3] package/quagga: Add systemd.service file

Peter Korsgaard peter at korsgaard.com
Sun Jul 3 14:02:16 UTC 2016


>>>>> "Nathaniel" == Nathaniel Roach <nroach44 at gmail.com> writes:

 > Use a template service file as all of the daemons use almost
 > identical arguments and generally appear the same to the init
 > system.

 > We "Wants=" zebra as that's the daemon for interfacing to the
 > kernel, and it's not required for the other daemons to work
 > but it's probably going to be used in nearly all setups.

 > /usr/bin/env is needed as systemd doesn't allow the instance
 > variable (%i) in the executable path.

 > We don't enable these services by default as this would require
 > creating configuration and /etc/default files. (And is easily
 > achieved with an FS overlay)

 > Signed-off-by: Nathaniel Roach <nroach44 at gmail.com>
 > ---
 > Changes v2 -> v3:
 >  - Remove invalid references to quagga.service (Arnout)
 >  - Check if the binary is executable before trying to start it
 >    (Arnout)
 >  - Remove PID file arguments and options (Arnout)
 >  - Add reload capability as the daemons do support it

Committed after removing killmode/killsignal/restartsec as suggested by
Maxime, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list