From b437d43127fce8f9815f656d9b6f06d2cca38a2f Mon Sep 17 00:00:00 2001 From: Alexander Martin Date: Sat, 6 Jan 2018 10:58:50 -0500 Subject: [PATCH] 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 db282bdbde..8b131ae6a8 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 d0e2cc22c3..91ee114441 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 c44b405b7c..bc1ad17b16 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 084b963697..0567e0d0c8 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 db282bdbde..8b131ae6a8 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 d0e2cc22c3..91ee114441 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 c44b405b7c..bc1ad17b16 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 084b963697..0567e0d0c8 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 db282bdbde..8b131ae6a8 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 d0e2cc22c3..91ee114441 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 c44b405b7c..bc1ad17b16 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 084b963697..0567e0d0c8 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}}`