bird2: fix service restart and reload (#546) 558/head
authorYuxiang Zhu <vfreex+github@gmail.com>
Sat, 8 Feb 2020 21:47:13 +0000 (05:47 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 28 Mar 2020 20:55:55 +0000 (21:55 +0100)
commitdc81e506ca5499f13ce3d3f31a6d32866f235e56
tree40ab02e088e03374380a61e1a3ace5a9618c8fc2
parent6e51cca4ea4e585ab87acb817513a078d214f9ae
bird2: fix service restart and reload (#546)

`/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
bird2/Makefile
bird2/files/bird.init