diff options
author | Roy Marples <roy@marples.name> | 2008-03-28 08:42:05 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-28 08:42:05 +0000 |
commit | 11e33e81c855395cbd931e99f7452ed6b3fef357 (patch) | |
tree | 2af516723abe43f67f38b5419867288913e85169 /src/librc/rc.h | |
parent | 5e8ed2aecabf48895e6d3d090591ffb59fc7588b (diff) |
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.
Diffstat (limited to 'src/librc/rc.h')
-rw-r--r-- | src/librc/rc.h | 10 |
1 files changed, 0 insertions, 10 deletions
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 |