mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
Update README with latest changes to initctl help
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
f12535dc19
commit
e7db6c6ac6
1 file changed
+14
-12
@@ -586,22 +586,24 @@ not return until the given command has fully completed.
|
|||||||
Usage: initctl [OPTIONS] <COMMAND>
|
Usage: initctl [OPTIONS] <COMMAND>
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
-d, --debug Debug initctl (client)
|
||||||
-v, --verbose Verbose output
|
-v, --verbose Verbose output
|
||||||
-h, --help This help text
|
-h, --help This help text
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
debug Toggle init daemon debug
|
debug Toggle Finit (daemon) debug
|
||||||
emit <EV> Emit an event: RELOAD, STOP, START, GW
|
emit <EV> Emit an event. Can be a predefined event: RELOAD, STOP,
|
||||||
IFUP:IFNAME, IFDN:IFNAME
|
START, or a custom string to match the event list in a
|
||||||
IFNAME is the interface name, e.g. eth0
|
service stanza, e.g: GW:UP, IFUP:IFNAME, IFDN:IFNAME,
|
||||||
reload Reload *.conf in /etc/finit.d/, like SIGHUP
|
where IFNAME is the interface name, e.g. eth0
|
||||||
runlevel <0-9> Change runlevel: 0 (halt), 6 (reboot)
|
reload Reload *.conf in /etc/finit.d/ and activate changes
|
||||||
start <JOB#> Start a stopped service
|
runlevel [0-9] Show or set runlevel: 0 halt, 6 reboot
|
||||||
stop <JOB#> Stop/Pause a running service
|
status | show Show status of services
|
||||||
restart <JOB#> Restart (stop/start) a running service
|
start <JOB|NAME> Start stopped job or service
|
||||||
reload <JOB#> Reload (SIGHUP) a running service
|
stop <JOB|NAME> Stop/Pause running job or service
|
||||||
status | show List status of all services known to Finit
|
restart <JOB|NAME> Restart (stop/start) job or service
|
||||||
version Show Finit version
|
reload <JOB|NAME> Reload (SIGHUP) job or service
|
||||||
|
version Show Finit version
|
||||||
```
|
```
|
||||||
|
|
||||||
The `emit <EV>` command can be used to send events to Finit. Built-in
|
The `emit <EV>` command can be used to send events to Finit. Built-in
|
||||||
|
|||||||
Reference in new issue
Block a user