From e7db6c6ac69ced04c5b77d0940a8c1be1f84abd4 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 22 Nov 2015 22:18:40 +0100 Subject: [PATCH] Update README with latest changes to initctl help Signed-off-by: Joachim Nilsson --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7caa5471..9b2108cf 100644 --- a/README.md +++ b/README.md @@ -586,22 +586,24 @@ not return until the given command has fully completed. Usage: initctl [OPTIONS] Options: + -d, --debug Debug initctl (client) -v, --verbose Verbose output -h, --help This help text Commands: - debug Toggle init daemon debug - emit Emit an event: RELOAD, STOP, START, GW - IFUP:IFNAME, IFDN:IFNAME - IFNAME is the interface name, e.g. eth0 - reload Reload *.conf in /etc/finit.d/, like SIGHUP - runlevel <0-9> Change runlevel: 0 (halt), 6 (reboot) - start Start a stopped service - stop Stop/Pause a running service - restart Restart (stop/start) a running service - reload Reload (SIGHUP) a running service - status | show List status of all services known to Finit - version Show Finit version + debug Toggle Finit (daemon) debug + emit Emit an event. Can be a predefined event: RELOAD, STOP, + START, or a custom string to match the event list in a + service stanza, e.g: GW:UP, IFUP:IFNAME, IFDN:IFNAME, + where IFNAME is the interface name, e.g. eth0 + reload Reload *.conf in /etc/finit.d/ and activate changes + runlevel [0-9] Show or set runlevel: 0 halt, 6 reboot + status | show Show status of services + start Start stopped job or service + stop Stop/Pause running job or service + restart Restart (stop/start) job or service + reload Reload (SIGHUP) job or service + version Show Finit version ``` The `emit ` command can be used to send events to Finit. Built-in