mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-30 13:14:46 +00:00
lib: immediately ping systemd when started
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
6d7c0df5b4
commit
fae5f3c125
@ -114,8 +114,10 @@ void systemd_send_started(struct thread_master *m, int the_process)
|
|||||||
systemd_master = m;
|
systemd_master = m;
|
||||||
|
|
||||||
systemd_send_information("READY=1");
|
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);
|
thread_add_timer(m, systemd_send_watchdog, m, wsecs, NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void systemd_send_status(const char *status)
|
void systemd_send_status(const char *status)
|
||||||
|
Loading…
Reference in New Issue
Block a user