mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
README: Clearify how multiple events can be emitted by initctl.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c30039facf
commit
ffa32c6674
1 file changed
+3
-3
@@ -610,10 +610,10 @@ their command counterparts. The `reload` command reloads all `*.conf`
|
|||||||
files in `/etc/finit.d/` *and* activates the changes, with `emit RELOAD`
|
files in `/etc/finit.d/` *and* activates the changes, with `emit RELOAD`
|
||||||
only the `*.conf` files are reloaded.
|
only the `*.conf` files are reloaded.
|
||||||
|
|
||||||
To achieve the same result as `initctl reload` issue all three events:
|
To achieve the same result as `initctl reload` emit all three events:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
~ $ initctl emit "RELOAD STOP START"
|
~ $ initctl emit "RELOAD,STOP,START"
|
||||||
```
|
```
|
||||||
|
|
||||||
On an embedded system this can be used when changing complete system
|
On an embedded system this can be used when changing complete system
|
||||||
@@ -629,7 +629,7 @@ started.
|
|||||||
~ $ …
|
~ $ …
|
||||||
|
|
||||||
# 3. Prepare finit, stop all old/previous services
|
# 3. Prepare finit, stop all old/previous services
|
||||||
~ $ initctl emit "RELOAD STOP"
|
~ $ initctl emit "RELOAD,STOP"
|
||||||
|
|
||||||
# 4. Reconfigure hardware, interfaces/bridges/VLANs, etc.
|
# 4. Reconfigure hardware, interfaces/bridges/VLANs, etc.
|
||||||
~ $ brctl …
|
~ $ brctl …
|
||||||
|
|||||||
Reference in new issue
Block a user