From 4bcb27a09f000caa55f26d9df07c32c14f805595 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 10:26:52 -0500 Subject: [PATCH 01/13] runsv: add page --- pages/common/runsv.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/runsv.md diff --git a/pages/common/runsv.md b/pages/common/runsv.md new file mode 100644 index 000000000..9e2422912 --- /dev/null +++ b/pages/common/runsv.md @@ -0,0 +1,11 @@ +# runsv + +> Starts and manages a runit service. + +- Start a runit service as yourself. + +`runsv {{path/to/service}}` + +- Start a runit service as root. + +`sudo runsv {{path/to/service}}` From eeee179ceeea5ce13c0334e375246b29fa03b156 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 10:31:22 -0500 Subject: [PATCH 02/13] runsvdir: add page --- pages/common/runsvdir.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/runsvdir.md diff --git a/pages/common/runsvdir.md b/pages/common/runsvdir.md new file mode 100644 index 000000000..68edd93c6 --- /dev/null +++ b/pages/common/runsvdir.md @@ -0,0 +1,15 @@ +# runsvdir + +> Run an entire directory of services. + +- Start and manage all services in a directory as yourself. + +`runsvdir {{path/to/services}}` + +- Start and manage all services in a directory as root. + +`sudo runsvdir {{path/to/services}}` + +- Start services in seperate sessions. + +`runsvdir -P {{path/to/services}}` From 2eb67453ccb1eb90ab536535909b2c7128763b91 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 10:31:47 -0500 Subject: [PATCH 03/13] Update runsv.md --- pages/common/runsv.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/runsv.md b/pages/common/runsv.md index 9e2422912..eb9bef774 100644 --- a/pages/common/runsv.md +++ b/pages/common/runsv.md @@ -1,6 +1,6 @@ # runsv -> Starts and manages a runit service. +> Start and manage a runit service. - Start a runit service as yourself. From f42e1f1bfa3e828c1c7c80a020eb17abe7e87cca Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 10:38:21 -0500 Subject: [PATCH 04/13] runsvchdir: add page --- pages/common/runsvchdir.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pages/common/runsvchdir.md diff --git a/pages/common/runsvchdir.md b/pages/common/runsvchdir.md new file mode 100644 index 000000000..a74b0ae3e --- /dev/null +++ b/pages/common/runsvchdir.md @@ -0,0 +1,7 @@ +# runsvchdir + +> Change the directory runsvdir uses by default. + +- Switch runsvdir directories. + +`sudo runsvchdir {{/path/to/directory}}` From 29aef971ec29b233bd994daac9ed0e5ea76f132f Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 10:42:19 -0500 Subject: [PATCH 05/13] sv: add page --- pages/common/sv.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/sv.md diff --git a/pages/common/sv.md b/pages/common/sv.md new file mode 100644 index 000000000..18cbbaf5b --- /dev/null +++ b/pages/common/sv.md @@ -0,0 +1,15 @@ +# sv + +> Control a running runsv service. + +- Start a service. + +`sv up {{path/to/service}}` + +- Stop a service + +`sv down {{path/to/service}}` + +- Get service status + +`sv status {{path/to/service}}` From 2ba6fa13a743cf2cddf434bd8b801eb34bc2caa1 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 10:47:59 -0500 Subject: [PATCH 06/13] runit: add page --- pages/common/runit.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/runit.md diff --git a/pages/common/runit.md b/pages/common/runit.md new file mode 100644 index 000000000..a9d86a45b --- /dev/null +++ b/pages/common/runit.md @@ -0,0 +1,11 @@ +# runit + +> 3-stage init system. + +- Start runit's 3-stage init scheme. + +`runit` + +- Shut down runit. + +`kill --CONT {{runit_pid}}` From deb6b4e4a80e491ac6a068715d7f052406ff9a3f Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 11:01:16 -0500 Subject: [PATCH 07/13] sv: fix example titles --- pages/common/sv.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/sv.md b/pages/common/sv.md index 18cbbaf5b..084b96369 100644 --- a/pages/common/sv.md +++ b/pages/common/sv.md @@ -2,14 +2,14 @@ > Control a running runsv service. -- Start a service. +- Start a service: `sv up {{path/to/service}}` -- Stop a service +- Stop a service: `sv down {{path/to/service}}` -- Get service status +- Get service status: `sv status {{path/to/service}}` From c5691753fb24c4814f54da361f85db3c082b4919 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 11:01:56 -0500 Subject: [PATCH 08/13] runsv: fix example titles --- pages/common/runsv.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/runsv.md b/pages/common/runsv.md index eb9bef774..db282bdbd 100644 --- a/pages/common/runsv.md +++ b/pages/common/runsv.md @@ -2,10 +2,10 @@ > Start and manage a runit service. -- Start a runit service as yourself. +- Start a runit service as yourself: `runsv {{path/to/service}}` -- Start a runit service as root. +- Start a runit service as root: `sudo runsv {{path/to/service}}` From c066ebd60c2bd1be060315220869a096341b1ccf Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 11:02:25 -0500 Subject: [PATCH 09/13] runit: fix example titles --- pages/common/runit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/runit.md b/pages/common/runit.md index a9d86a45b..841092117 100644 --- a/pages/common/runit.md +++ b/pages/common/runit.md @@ -2,10 +2,10 @@ > 3-stage init system. -- Start runit's 3-stage init scheme. +- Start runit's 3-stage init scheme: `runit` -- Shut down runit. +- Shut down runit: `kill --CONT {{runit_pid}}` From dbe8679e8ec8ba30dcf79d8744b34b9edff092c1 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 11:03:01 -0500 Subject: [PATCH 10/13] runsvchdir: fix example titles --- pages/common/runsvchdir.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/runsvchdir.md b/pages/common/runsvchdir.md index a74b0ae3e..d0e2cc22c 100644 --- a/pages/common/runsvchdir.md +++ b/pages/common/runsvchdir.md @@ -2,6 +2,6 @@ > Change the directory runsvdir uses by default. -- Switch runsvdir directories. +- Switch runsvdir directories: `sudo runsvchdir {{/path/to/directory}}` From 0a8a57a7f29b994068ed1bf03994700f998d0b75 Mon Sep 17 00:00:00 2001 From: Alex Martin Date: Mon, 18 Dec 2017 11:03:28 -0500 Subject: [PATCH 11/13] runsvdir: fix example titles --- pages/common/runsvdir.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/runsvdir.md b/pages/common/runsvdir.md index 68edd93c6..c44b405b7 100644 --- a/pages/common/runsvdir.md +++ b/pages/common/runsvdir.md @@ -2,14 +2,14 @@ > Run an entire directory of services. -- Start and manage all services in a directory as yourself. +- Start and manage all services in a directory as yourself: `runsvdir {{path/to/services}}` -- Start and manage all services in a directory as root. +- Start and manage all services in a directory as root: `sudo runsvdir {{path/to/services}}` -- Start services in seperate sessions. +- Start services in seperate sessions: `runsvdir -P {{path/to/services}}` From 8a56e3c24a8df9b7b1889d11828d4e242a3ae971 Mon Sep 17 00:00:00 2001 From: Alexander Martin Date: Sun, 24 Dec 2017 09:58:46 -0500 Subject: [PATCH 12/13] runit: move pages --- pages/{common => linux}/runit.md | 0 pages/{common => linux}/runsv.md | 0 pages/{common => linux}/runsvchdir.md | 0 pages/{common => linux}/runsvdir.md | 0 pages/{common => linux}/sv.md | 0 pages/osx/runit.md | 11 +++++++++++ pages/osx/runsv.md | 11 +++++++++++ pages/osx/runsvchdir.md | 7 +++++++ pages/osx/runsvdir.md | 15 +++++++++++++++ pages/osx/sv.md | 15 +++++++++++++++ pages/sunos/runit.md | 11 +++++++++++ pages/sunos/runsv.md | 11 +++++++++++ pages/sunos/runsvchdir.md | 7 +++++++ pages/sunos/runsvdir.md | 15 +++++++++++++++ pages/sunos/sv.md | 15 +++++++++++++++ 15 files changed, 118 insertions(+) rename pages/{common => linux}/runit.md (100%) rename pages/{common => linux}/runsv.md (100%) rename pages/{common => linux}/runsvchdir.md (100%) rename pages/{common => linux}/runsvdir.md (100%) rename pages/{common => linux}/sv.md (100%) create mode 100644 pages/osx/runit.md create mode 100644 pages/osx/runsv.md create mode 100644 pages/osx/runsvchdir.md create mode 100644 pages/osx/runsvdir.md create mode 100644 pages/osx/sv.md create mode 100644 pages/sunos/runit.md create mode 100644 pages/sunos/runsv.md create mode 100644 pages/sunos/runsvchdir.md create mode 100644 pages/sunos/runsvdir.md create mode 100644 pages/sunos/sv.md diff --git a/pages/common/runit.md b/pages/linux/runit.md similarity index 100% rename from pages/common/runit.md rename to pages/linux/runit.md diff --git a/pages/common/runsv.md b/pages/linux/runsv.md similarity index 100% rename from pages/common/runsv.md rename to pages/linux/runsv.md diff --git a/pages/common/runsvchdir.md b/pages/linux/runsvchdir.md similarity index 100% rename from pages/common/runsvchdir.md rename to pages/linux/runsvchdir.md diff --git a/pages/common/runsvdir.md b/pages/linux/runsvdir.md similarity index 100% rename from pages/common/runsvdir.md rename to pages/linux/runsvdir.md diff --git a/pages/common/sv.md b/pages/linux/sv.md similarity index 100% rename from pages/common/sv.md rename to pages/linux/sv.md diff --git a/pages/osx/runit.md b/pages/osx/runit.md new file mode 100644 index 000000000..841092117 --- /dev/null +++ b/pages/osx/runit.md @@ -0,0 +1,11 @@ +# runit + +> 3-stage init system. + +- Start runit's 3-stage init scheme: + +`runit` + +- Shut down runit: + +`kill --CONT {{runit_pid}}` diff --git a/pages/osx/runsv.md b/pages/osx/runsv.md new file mode 100644 index 000000000..db282bdbd --- /dev/null +++ b/pages/osx/runsv.md @@ -0,0 +1,11 @@ +# runsv + +> Start and manage a runit service. + +- Start a runit service as yourself: + +`runsv {{path/to/service}}` + +- Start a runit service as root: + +`sudo runsv {{path/to/service}}` diff --git a/pages/osx/runsvchdir.md b/pages/osx/runsvchdir.md new file mode 100644 index 000000000..d0e2cc22c --- /dev/null +++ b/pages/osx/runsvchdir.md @@ -0,0 +1,7 @@ +# runsvchdir + +> Change the directory runsvdir uses by default. + +- Switch runsvdir directories: + +`sudo runsvchdir {{/path/to/directory}}` diff --git a/pages/osx/runsvdir.md b/pages/osx/runsvdir.md new file mode 100644 index 000000000..c44b405b7 --- /dev/null +++ b/pages/osx/runsvdir.md @@ -0,0 +1,15 @@ +# runsvdir + +> Run an entire directory of services. + +- Start and manage all services in a directory as yourself: + +`runsvdir {{path/to/services}}` + +- Start and manage all services in a directory as root: + +`sudo runsvdir {{path/to/services}}` + +- Start services in seperate sessions: + +`runsvdir -P {{path/to/services}}` diff --git a/pages/osx/sv.md b/pages/osx/sv.md new file mode 100644 index 000000000..084b96369 --- /dev/null +++ b/pages/osx/sv.md @@ -0,0 +1,15 @@ +# sv + +> Control a running runsv service. + +- Start a service: + +`sv up {{path/to/service}}` + +- Stop a service: + +`sv down {{path/to/service}}` + +- Get service status: + +`sv status {{path/to/service}}` diff --git a/pages/sunos/runit.md b/pages/sunos/runit.md new file mode 100644 index 000000000..841092117 --- /dev/null +++ b/pages/sunos/runit.md @@ -0,0 +1,11 @@ +# runit + +> 3-stage init system. + +- Start runit's 3-stage init scheme: + +`runit` + +- Shut down runit: + +`kill --CONT {{runit_pid}}` diff --git a/pages/sunos/runsv.md b/pages/sunos/runsv.md new file mode 100644 index 000000000..db282bdbd --- /dev/null +++ b/pages/sunos/runsv.md @@ -0,0 +1,11 @@ +# runsv + +> Start and manage a runit service. + +- Start a runit service as yourself: + +`runsv {{path/to/service}}` + +- Start a runit service as root: + +`sudo runsv {{path/to/service}}` diff --git a/pages/sunos/runsvchdir.md b/pages/sunos/runsvchdir.md new file mode 100644 index 000000000..d0e2cc22c --- /dev/null +++ b/pages/sunos/runsvchdir.md @@ -0,0 +1,7 @@ +# runsvchdir + +> Change the directory runsvdir uses by default. + +- Switch runsvdir directories: + +`sudo runsvchdir {{/path/to/directory}}` diff --git a/pages/sunos/runsvdir.md b/pages/sunos/runsvdir.md new file mode 100644 index 000000000..c44b405b7 --- /dev/null +++ b/pages/sunos/runsvdir.md @@ -0,0 +1,15 @@ +# runsvdir + +> Run an entire directory of services. + +- Start and manage all services in a directory as yourself: + +`runsvdir {{path/to/services}}` + +- Start and manage all services in a directory as root: + +`sudo runsvdir {{path/to/services}}` + +- Start services in seperate sessions: + +`runsvdir -P {{path/to/services}}` diff --git a/pages/sunos/sv.md b/pages/sunos/sv.md new file mode 100644 index 000000000..084b96369 --- /dev/null +++ b/pages/sunos/sv.md @@ -0,0 +1,15 @@ +# sv + +> Control a running runsv service. + +- Start a service: + +`sv up {{path/to/service}}` + +- Stop a service: + +`sv down {{path/to/service}}` + +- Get service status: + +`sv status {{path/to/service}}` From b437d43127fce8f9815f656d9b6f06d2cca38a2f Mon Sep 17 00:00:00 2001 From: Alexander Martin Date: Sat, 6 Jan 2018 10:58:50 -0500 Subject: [PATCH 13/13] runit: make requested corrections --- pages/linux/runsv.md | 2 +- pages/linux/runsvchdir.md | 4 ++-- pages/linux/runsvdir.md | 4 ++-- pages/linux/sv.md | 6 +++--- pages/osx/runsv.md | 2 +- pages/osx/runsvchdir.md | 4 ++-- pages/osx/runsvdir.md | 4 ++-- pages/osx/sv.md | 6 +++--- pages/sunos/runsv.md | 2 +- pages/sunos/runsvchdir.md | 4 ++-- pages/sunos/runsvdir.md | 4 ++-- pages/sunos/sv.md | 6 +++--- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/pages/linux/runsv.md b/pages/linux/runsv.md index db282bdbd..8b131ae6a 100644 --- a/pages/linux/runsv.md +++ b/pages/linux/runsv.md @@ -2,7 +2,7 @@ > Start and manage a runit service. -- Start a runit service as yourself: +- Start a runit service as the current user: `runsv {{path/to/service}}` diff --git a/pages/linux/runsvchdir.md b/pages/linux/runsvchdir.md index d0e2cc22c..91ee11444 100644 --- a/pages/linux/runsvchdir.md +++ b/pages/linux/runsvchdir.md @@ -1,7 +1,7 @@ # runsvchdir -> Change the directory runsvdir uses by default. +> Change the directory `runsvdir` uses by default. -- Switch runsvdir directories: +- Switch `runsvdir` directories: `sudo runsvchdir {{/path/to/directory}}` diff --git a/pages/linux/runsvdir.md b/pages/linux/runsvdir.md index c44b405b7..bc1ad17b1 100644 --- a/pages/linux/runsvdir.md +++ b/pages/linux/runsvdir.md @@ -2,7 +2,7 @@ > Run an entire directory of services. -- Start and manage all services in a directory as yourself: +- Start and manage all services in a directory as the current user: `runsvdir {{path/to/services}}` @@ -10,6 +10,6 @@ `sudo runsvdir {{path/to/services}}` -- Start services in seperate sessions: +- Start services in separate sessions: `runsvdir -P {{path/to/services}}` diff --git a/pages/linux/sv.md b/pages/linux/sv.md index 084b96369..0567e0d0c 100644 --- a/pages/linux/sv.md +++ b/pages/linux/sv.md @@ -4,12 +4,12 @@ - Start a service: -`sv up {{path/to/service}}` +`sudo sv up {{path/to/service}}` - Stop a service: -`sv down {{path/to/service}}` +`sudo sv down {{path/to/service}}` - Get service status: -`sv status {{path/to/service}}` +`sudo sv status {{path/to/service}}` diff --git a/pages/osx/runsv.md b/pages/osx/runsv.md index db282bdbd..8b131ae6a 100644 --- a/pages/osx/runsv.md +++ b/pages/osx/runsv.md @@ -2,7 +2,7 @@ > Start and manage a runit service. -- Start a runit service as yourself: +- Start a runit service as the current user: `runsv {{path/to/service}}` diff --git a/pages/osx/runsvchdir.md b/pages/osx/runsvchdir.md index d0e2cc22c..91ee11444 100644 --- a/pages/osx/runsvchdir.md +++ b/pages/osx/runsvchdir.md @@ -1,7 +1,7 @@ # runsvchdir -> Change the directory runsvdir uses by default. +> Change the directory `runsvdir` uses by default. -- Switch runsvdir directories: +- Switch `runsvdir` directories: `sudo runsvchdir {{/path/to/directory}}` diff --git a/pages/osx/runsvdir.md b/pages/osx/runsvdir.md index c44b405b7..bc1ad17b1 100644 --- a/pages/osx/runsvdir.md +++ b/pages/osx/runsvdir.md @@ -2,7 +2,7 @@ > Run an entire directory of services. -- Start and manage all services in a directory as yourself: +- Start and manage all services in a directory as the current user: `runsvdir {{path/to/services}}` @@ -10,6 +10,6 @@ `sudo runsvdir {{path/to/services}}` -- Start services in seperate sessions: +- Start services in separate sessions: `runsvdir -P {{path/to/services}}` diff --git a/pages/osx/sv.md b/pages/osx/sv.md index 084b96369..0567e0d0c 100644 --- a/pages/osx/sv.md +++ b/pages/osx/sv.md @@ -4,12 +4,12 @@ - Start a service: -`sv up {{path/to/service}}` +`sudo sv up {{path/to/service}}` - Stop a service: -`sv down {{path/to/service}}` +`sudo sv down {{path/to/service}}` - Get service status: -`sv status {{path/to/service}}` +`sudo sv status {{path/to/service}}` diff --git a/pages/sunos/runsv.md b/pages/sunos/runsv.md index db282bdbd..8b131ae6a 100644 --- a/pages/sunos/runsv.md +++ b/pages/sunos/runsv.md @@ -2,7 +2,7 @@ > Start and manage a runit service. -- Start a runit service as yourself: +- Start a runit service as the current user: `runsv {{path/to/service}}` diff --git a/pages/sunos/runsvchdir.md b/pages/sunos/runsvchdir.md index d0e2cc22c..91ee11444 100644 --- a/pages/sunos/runsvchdir.md +++ b/pages/sunos/runsvchdir.md @@ -1,7 +1,7 @@ # runsvchdir -> Change the directory runsvdir uses by default. +> Change the directory `runsvdir` uses by default. -- Switch runsvdir directories: +- Switch `runsvdir` directories: `sudo runsvchdir {{/path/to/directory}}` diff --git a/pages/sunos/runsvdir.md b/pages/sunos/runsvdir.md index c44b405b7..bc1ad17b1 100644 --- a/pages/sunos/runsvdir.md +++ b/pages/sunos/runsvdir.md @@ -2,7 +2,7 @@ > Run an entire directory of services. -- Start and manage all services in a directory as yourself: +- Start and manage all services in a directory as the current user: `runsvdir {{path/to/services}}` @@ -10,6 +10,6 @@ `sudo runsvdir {{path/to/services}}` -- Start services in seperate sessions: +- Start services in separate sessions: `runsvdir -P {{path/to/services}}` diff --git a/pages/sunos/sv.md b/pages/sunos/sv.md index 084b96369..0567e0d0c 100644 --- a/pages/sunos/sv.md +++ b/pages/sunos/sv.md @@ -4,12 +4,12 @@ - Start a service: -`sv up {{path/to/service}}` +`sudo sv up {{path/to/service}}` - Stop a service: -`sv down {{path/to/service}}` +`sudo sv down {{path/to/service}}` - Get service status: -`sv status {{path/to/service}}` +`sudo sv status {{path/to/service}}`