From 11e33e81c855395cbd931e99f7452ed6b3fef357 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 28 Mar 2008 08:42:05 +0000 Subject: Remove rc_service_start/stop from librc as they block and unmask signals. The application may not wish this behaviour and should fork/exec the service itself. --- src/librc/rc.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/librc/rc.h') diff --git a/src/librc/rc.h b/src/librc/rc.h index 415963b4..04cdba4d 100644 --- a/src/librc/rc.h +++ b/src/librc/rc.h @@ -172,16 +172,6 @@ bool rc_service_schedule_clear(const char *); * @return state of the service */ RC_SERVICE rc_service_state(const char *); -/*! Start a service - * @param service to start - * @return pid of the service starting process */ -pid_t rc_service_start(const char *); - -/*! Stop a service - * @param service to stop - * @return pid of service stopping process */ -pid_t rc_service_stop(const char *); - /*! Check if the service started the daemon * @param service to check * @param exec to check -- cgit v1.2.3