summaryrefslogtreecommitdiff
path: root/src/librc/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-28 08:42:05 +0000
committerRoy Marples <roy@marples.name>2008-03-28 08:42:05 +0000
commit11e33e81c855395cbd931e99f7452ed6b3fef357 (patch)
tree2af516723abe43f67f38b5419867288913e85169 /src/librc/rc.h
parent5e8ed2aecabf48895e6d3d090591ffb59fc7588b (diff)
downloadopenrc-11e33e81c855395cbd931e99f7452ed6b3fef357.tar.gz
openrc-11e33e81c855395cbd931e99f7452ed6b3fef357.tar.bz2
openrc-11e33e81c855395cbd931e99f7452ed6b3fef357.tar.xz
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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/librc/rc.h b/src/librc/rc.h
index 415963b..04cdba4 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