mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
Clarify that the GW event to listen for in service declarations is GW:UP
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
b19ea16e9d
commit
f12535dc19
2 files changed
+5
-5
No files matched your search
@@ -648,10 +648,10 @@ started.
|
|||||||
|
|
||||||
The `emit <EV>` command can also be used to emit custom events. In
|
The `emit <EV>` command can also be used to emit custom events. In
|
||||||
fact, the event is a simple string. Declare a list of events in a
|
fact, the event is a simple string. Declare a list of events in a
|
||||||
service stanza: `service … <GW,IFUP:eth0>` to reload (`SIGHUP`) a
|
service stanza: `service … <GW:UP,IFUP:eth0>` to reload (`SIGHUP`) a
|
||||||
service when recieving the `"GW"` or `"IFUP:eth0"` strings. If a
|
service when recieving the `"GW:UP"` or `"IFUP:eth0"` strings. If a
|
||||||
service cannot handle reload and must be stopped-started, simply add an
|
service cannot handle reload and must be stopped-started, simply add an
|
||||||
exclamation mark first: `service … <!GW,IFUP:eth0>`.
|
exclamation mark first: `service … <!GW:UP,IFUP:eth0>`.
|
||||||
|
|
||||||
The `<!>` notation to a service stanza can be used empty, then it will
|
The `<!>` notation to a service stanza can be used empty, then it will
|
||||||
apply to `reload` and `runlevel` commands. I.e., when a service's
|
apply to `reload` and `runlevel` commands. I.e., when a service's
|
||||||
|
|||||||
@@ -213,8 +213,8 @@ static int usage(int rc)
|
|||||||
" debug Toggle Finit (daemon) debug\n"
|
" debug Toggle Finit (daemon) debug\n"
|
||||||
" emit <EV> Emit an event. Can be a predefined event: RELOAD, STOP,\n"
|
" emit <EV> Emit an event. Can be a predefined event: RELOAD, STOP,\n"
|
||||||
" START, or a custom string to match the event list in a\n"
|
" START, or a custom string to match the event list in a\n"
|
||||||
" service stanza, e.g: GW, IFUP:IFNAME, IFDN:IFNAME, where\n"
|
" service stanza, e.g: GW:UP, IFUP:IFNAME, IFDN:IFNAME,\n"
|
||||||
" IFNAME is the interface name, e.g. eth0\n"
|
" where IFNAME is the interface name, e.g. eth0\n"
|
||||||
" reload Reload *.conf in /etc/finit.d/ and activate changes\n"
|
" reload Reload *.conf in /etc/finit.d/ and activate changes\n"
|
||||||
" runlevel [0-9] Show or set runlevel: 0 halt, 6 reboot\n"
|
" runlevel [0-9] Show or set runlevel: 0 halt, 6 reboot\n"
|
||||||
" status | show Show status of services\n"
|
" status | show Show status of services\n"
|
||||||
|
|||||||
Reference in new issue
Block a user