diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-02 21:18:00 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-10 14:59:56 +0100 |
commit | fae5f3c125e53e2c24e22e2feb34420852767ece (patch) | |
tree | cfaf00e1154fd0d9c41a86d4f34982060097f0b1 /lib | |
parent | pimd: ifchannel deletion should tell you the interface (diff) | |
download | frr-fae5f3c125e53e2c24e22e2feb34420852767ece.tar.xz frr-fae5f3c125e53e2c24e22e2feb34420852767ece.zip |
lib: immediately ping systemd when started
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systemd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/systemd.c b/lib/systemd.c index 81b0400ab..c5cc3aa44 100644 --- a/lib/systemd.c +++ b/lib/systemd.c @@ -114,8 +114,10 @@ void systemd_send_started(struct thread_master *m, int the_process) systemd_master = m; systemd_send_information("READY=1"); - if (wsecs != 0) + if (wsecs != 0) { + systemd_send_information("WATCHDOG=1"); thread_add_timer(m, systemd_send_watchdog, m, wsecs, NULL); + } } void systemd_send_status(const char *status) |