]> git.proxmox.com Git - mirror_frr.git/commit
tools: retain sanity when reloading under systemd
authorDavid Lamparter <equinox@diac24.net>
Sun, 9 Jun 2019 23:35:04 +0000 (01:35 +0200)
committerDavid Lamparter <equinox@diac24.net>
Mon, 17 Jun 2019 19:05:23 +0000 (21:05 +0200)
commit30b34aac84380239a6e1b7870ebe6380817fe56a
tree92085b9cda877ac97892c6baec5915283bf36420
parent15892762059a1889295cc6ca9d6b383131435757
tools: retain sanity when reloading under systemd

Without this, we end up restarting watchfrr with the systemd watchdog
non-functional & tripped a bit later.  Also, if watchfrr is in the
"control" cgroup, systemd 232 will kill it.  (241 apparently doesn't.
Can't find anything about this in systemd's ChangeLog though.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 9c251d376ad8e604c25767b32c2816e9ae75a738)
tools/frrinit.sh.in