bird2: fix service restart and reload (#546)
authorYuxiang Zhu <vfreex+github@gmail.com>
Sat, 8 Feb 2020 21:47:13 +0000 (05:47 +0800)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2020 21:47:13 +0000 (22:47 +0100)
commitc9ae9c8c509a927f4f76c6455313ec15de2fbe41
tree57d3c845db4f04f4406dec231db04a24a699a80e
parentc225724e8f8cf19b22e3bd9d03eccf812c28a1c7
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