diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-11 08:18:43 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-11 08:18:43 -0500 |
| commit | 918f2966a82b17d4282df5f1260ea7b380a1d18d (patch) | |
| tree | b5a9fe5567dba7c5161660325075f2ca220f0a59 | |
| parent | b9590d4de4f5d819fa2df6fb7f2cf397e286217f (diff) | |
ripngd: Add missing systemd notifications
Initial pass of adding systemd callbacks were missed for
ripngd. This commit adds those calls.
Ticket: CM-9267
Reviewed-by: Don Slice
Testing: See Bug
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | ripngd/ripng_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 6fb0d00abd..43b74fac3f 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -155,6 +155,7 @@ sigint (void) if (! retain_mode) ripng_clean (); + systemd_send_stopping (); exit (0); } @@ -299,6 +300,8 @@ main (int argc, char **argv) exit (1); } + systemd_send_started (master); + /* Create VTY socket */ vty_serv_sock (vty_addr, vty_port, RIPNG_VTYSH_PATH); |
