summaryrefslogtreecommitdiff
path: root/lib/systemd.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-25 11:34:35 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-27 16:04:48 -0400
commit651415bd617af87ee0addfc15d6985b6946600ed (patch)
tree2a3f537c22a68dae1e554f8a4de5be1a1394a9d5 /lib/systemd.h
parente2dd9485cb35cf81add815959927a3016116d898 (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 'lib/systemd.h')
-rw-r--r--lib/systemd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/systemd.h b/lib/systemd.h
index aef9c8ec82..685f3d9a77 100644
--- a/lib/systemd.h
+++ b/lib/systemd.h
@@ -30,5 +30,11 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
*/
void systemd_send_information (const char *info);
void systemd_send_stopping (void);
-void systemd_send_started (struct thread_master *);
+
+/*
+ * master - The struct thread_master * to use to schedule ourself
+ * the_process - Should we send watchdog if we are not the requested
+ * process?
+ */
+void systemd_send_started (struct thread_master *master, int the_process);