summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index af48d1fe4c..4eb22c15a3 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -37,6 +37,7 @@
#include "sigevent.h"
#include "zclient.h"
#include "vrf.h"
+#include "systemd.h"
#include "ospf6d.h"
#include "ospf6_top.h"
@@ -165,6 +166,7 @@ ospf6_exit (int status)
if (zlog_default)
closezlog (zlog_default);
+ systemd_send_stopping ();
exit (status);
}
@@ -346,6 +348,8 @@ main (int argc, char *argv[], char *envp[])
/* pid file create */
pid_output (pid_file);
+ systemd_send_started (master);
+
/* Make ospf6 vty socket. */
if (!vty_port)
vty_port = OSPF6_VTY_PORT;