aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/var_service/README_distro_proposal.txt14
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
51Here is a link to Vod Linux's wiki: 51Here 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.
187This also may be worked around by creating a .dotdir (a directory 187This also may be worked around by creating a .dotdir (a directory
188whose name starts with a dot), populating it, and then renaming; 188whose name starts with a dot), populating it, and then renaming;
189but packaging tools usually do not have an option to do this 189but packaging tools usually do not have an option to do this
190automatically - additional install stripting in packages will be needed. 190automatically - additional install scripting in packages will be needed.
191 191
192Daemons' output file descriptors are handled somewhat awkwardly 192Daemons' output file descriptors are handled somewhat awkwardly
193by various daemontools implementations. For example, for runit tools, 193by various daemontools implementations. For example, for runit tools,
194daemons' stdout goes to wherever runsvdir's stdout was directied; 194daemons' stdout goes to wherever runsvdir's stdout was directed;
195stderr goes to runsvdir, which in turn "rotates" it on its command line 195stderr 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
243relative to the system-wide service directory. 243relative 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.
246This proposal asks developrs of other daemontools implementations 246This proposal asks developers of other daemontools implementations
247to add "svc" command to their projects] 247to add "svc" command to their projects]
248 248
249The "svok DIR" tool exits 0 if service is running, and nonzero if not. 249The "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
257Then "activate" it by running ??????? - this copies (or symlinks, 257Then "activate" it by running ??????? - this copies (or symlinks,
258depending on the distro) its files to the "live" service directory, 258depending on the distro) its files to the "live" service directory,
259whereever it is located on this distro. 259wherever it is located on this distro.
260 260
261Removal of the service should be done as follows: 261Removal of the service should be done as follows:
262svc -d DIR [DIR/log], then remove the service directory: 262svc -d DIR [DIR/log], then remove the service directory:
@@ -275,9 +275,9 @@ It may run one per-directory supervisor, or two supervisors
275an implementation is possible which itself controls all services, without 275an implementation is possible which itself controls all services, without
276intermediate supervisors. 276intermediate 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
280Directores are remembered by device+inode numbers, not names. Renaming a directory 280Directories are remembered by device+inode numbers, not names. Renaming a directory
281does not affect the running service (unless it is renamed to a .dotdir). 281does not affect the running service (unless it is renamed to a .dotdir).
282 282
283Removal (or .dotdiring) of a directory sends SIGTERM to any running services. 283Removal (or .dotdiring) of a directory sends SIGTERM to any running services.