The bird service needs to stop before network is stopped, otherwise it
might not be able to cleanly terminate its sessions. Introduce STOP=10
as is used in the bird1 init scripts.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
`/etc/init.d/bird restart` or `/etc/init.d/bird reload` has no effects.
This PR fixes this issue by:
- running the service in the foreground to meet the requirements of procd
- sending SIGHUP signal to reload the service
This adds a separate package for the 2.0 branch of Bird, allowing it to
co-exist with the bird1 package. The two packages conflict with each other,
so they can't be installed at the same time; but in the build system they
coexist just fine.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>