diff options
-rw-r--r-- | examples/var_service/README_distro_proposal.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/var_service/README_distro_proposal.txt b/examples/var_service/README_distro_proposal.txt index 8140facba..9ba952cb4 100644 --- a/examples/var_service/README_distro_proposal.txt +++ b/examples/var_service/README_distro_proposal.txt | |||
@@ -48,7 +48,7 @@ ps tells me they did put X, dbus, NM and udev into runsvdir-supervised tree: | |||
48 | 654 ? 00:00:00 runsv | 48 | 654 ? 00:00:00 runsv |
49 | 659 ? 00:00:00 udevd | 49 | 659 ? 00:00:00 udevd |
50 | 50 | ||
51 | Here is a link to Vod Linux's wiki: | 51 | Here is a link to Void Linux's wiki: |
52 | 52 | ||
53 | https://wiki.voidlinux.eu/Runit | 53 | https://wiki.voidlinux.eu/Runit |
54 | 54 | ||
@@ -187,11 +187,11 @@ implemented in any of three packages. | |||
187 | This also may be worked around by creating a .dotdir (a directory | 187 | This also may be worked around by creating a .dotdir (a directory |
188 | whose name starts with a dot), populating it, and then renaming; | 188 | whose name starts with a dot), populating it, and then renaming; |
189 | but packaging tools usually do not have an option to do this | 189 | but packaging tools usually do not have an option to do this |
190 | automatically - additional install stripting in packages will be needed. | 190 | automatically - additional install scripting in packages will be needed. |
191 | 191 | ||
192 | Daemons' output file descriptors are handled somewhat awkwardly | 192 | Daemons' output file descriptors are handled somewhat awkwardly |
193 | by various daemontools implementations. For example, for runit tools, | 193 | by various daemontools implementations. For example, for runit tools, |
194 | daemons' stdout goes to wherever runsvdir's stdout was directied; | 194 | daemons' stdout goes to wherever runsvdir's stdout was directed; |
195 | stderr goes to runsvdir, which in turn "rotates" it on its command line | 195 | stderr goes to runsvdir, which in turn "rotates" it on its command line |
196 | (which is visible in ps output). | 196 | (which is visible in ps output). |
197 | 197 | ||
@@ -243,7 +243,7 @@ If DIR has no slash and is not "." or "..", it is assumed to be | |||
243 | relative to the system-wide service directory. | 243 | relative to the system-wide service directory. |
244 | 244 | ||
245 | [Currently, "svc" exists only in daemontools and in busybox. | 245 | [Currently, "svc" exists only in daemontools and in busybox. |
246 | This proposal asks developrs of other daemontools implementations | 246 | This proposal asks developers of other daemontools implementations |
247 | to add "svc" command to their projects] | 247 | to add "svc" command to their projects] |
248 | 248 | ||
249 | The "svok DIR" tool exits 0 if service is running, and nonzero if not. | 249 | The "svok DIR" tool exits 0 if service is running, and nonzero if not. |
@@ -256,7 +256,7 @@ To this end, first create and populate a new /etc/rc/DIR. | |||
256 | 256 | ||
257 | Then "activate" it by running ??????? - this copies (or symlinks, | 257 | Then "activate" it by running ??????? - this copies (or symlinks, |
258 | depending on the distro) its files to the "live" service directory, | 258 | depending on the distro) its files to the "live" service directory, |
259 | whereever it is located on this distro. | 259 | wherever it is located on this distro. |
260 | 260 | ||
261 | Removal of the service should be done as follows: | 261 | Removal of the service should be done as follows: |
262 | svc -d DIR [DIR/log], then remove the service directory: | 262 | svc -d DIR [DIR/log], then remove the service directory: |
@@ -275,9 +275,9 @@ It may run one per-directory supervisor, or two supervisors | |||
275 | an implementation is possible which itself controls all services, without | 275 | an implementation is possible which itself controls all services, without |
276 | intermediate supervisors. | 276 | intermediate supervisors. |
277 | [runsvdir runs one "runsv DIR" per DIR, runsv handles DIR/log/ if that exists] | 277 | [runsvdir runs one "runsv DIR" per DIR, runsv handles DIR/log/ if that exists] |
278 | [svscan runs a pair of "superwise DIR" and "superwise DIR/log"] | 278 | [svscan runs a pair of "supervise DIR" and "supervise DIR/log"] |
279 | 279 | ||
280 | Directores are remembered by device+inode numbers, not names. Renaming a directory | 280 | Directories are remembered by device+inode numbers, not names. Renaming a directory |
281 | does not affect the running service (unless it is renamed to a .dotdir). | 281 | does not affect the running service (unless it is renamed to a .dotdir). |
282 | 282 | ||
283 | Removal (or .dotdiring) of a directory sends SIGTERM to any running services. | 283 | Removal (or .dotdiring) of a directory sends SIGTERM to any running services. |