diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-04-25 11:34:35 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-04-27 16:04:48 -0400 | 
| commit | 651415bd617af87ee0addfc15d6985b6946600ed (patch) | |
| tree | 2a3f537c22a68dae1e554f8a4de5be1a1394a9d5 /ripngd/ripng_main.c | |
| parent | e2dd9485cb35cf81add815959927a3016116d898 (diff) | |
quagga: Fixup startup to allow consistency between sysV and systemd
We want the ability to start up quagga in a varied set of
environments.  This needs to be done in SysV and systemd
startups.  As such refactor the code to allow us to
allow end users to easily switch between the two
sysV:
edit the /etc/quagga/daemons file
service quagga [start|stop|reload|restart]
Systemd:
edit the /etc/quagga/daemons file
systemctl [start|stop|reload|restart] quagga
Ticket: CM-10634
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ripngd/ripng_main.c')
| -rw-r--r-- | ripngd/ripng_main.c | 4 | 
1 files changed, 0 insertions, 4 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 43b74fac3f..c05da0c9ef 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -35,7 +35,6 @@  #include "privs.h"  #include "sigevent.h"  #include "vrf.h" -#include "systemd.h"  #include "ripngd/ripngd.h" @@ -155,7 +154,6 @@ sigint (void)    if (! retain_mode)      ripng_clean (); -  systemd_send_stopping ();    exit (0);  } @@ -300,8 +298,6 @@ main (int argc, char **argv)        exit (1);      } -  systemd_send_started (master); -    /* Create VTY socket */    vty_serv_sock (vty_addr, vty_port, RIPNG_VTYSH_PATH);  | 
