diff options
Diffstat (limited to 'docs/wiki/system')
-rw-r--r-- | docs/wiki/system/service-management.html | 53 | ||||
-rw-r--r-- | docs/wiki/system/service-management.txt | 39 |
2 files changed, 92 insertions, 0 deletions
diff --git a/docs/wiki/system/service-management.html b/docs/wiki/system/service-management.html new file mode 100644 index 0000000..40d9c54 --- /dev/null +++ b/docs/wiki/system/service-management.html @@ -0,0 +1,53 @@ +<!DOCTYPE HTML> +<html lan="en"> +<head> +<title>Service Management | Carbs Linux</title> +<link rel="stylesheet" href="/assets/style.css"> +<meta charset="utf-8"> +<meta name="Description" content="Carbs Linux - a simple busybox linux distribution"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +</head> +<p class=header><strong>Carbs Linux - a simple busybox linux distribution</strong></p> +<div class="header"><nav> +<a href='/'>index</a> +<a href='https://github.com/CarbsLinux'>github</a> +<a href='//dl.carbslinux.org'>downloads</a> +<a href='/blog'>blog</a> +<a href='/wiki'>wiki</a> +<a href='/wiki/install.html'>installation</a> +</nav></div><div class="border"></div> +<h1>Service Management</h1> + +<p>Carbs Linux uses busybox-runit as the default system supervisor.</p> + +<h2>Enabling Services</h2> + +<p>Services start immediately when you enable them, and run by default on boot.</p> + +<pre><code>$ ln -s /etc/sv/acpid /var/service +</code></pre> + +<h2>Disabling a service</h2> + +<pre><code>$ unlink /var/service/acpid +</code></pre> + +<h2>Starting a service</h2> + +<pre><code>$ sv start acpid +</code></pre> + +<h2>Stopping a service</h2> + +<pre><code>$ sv stop acpid +</code></pre> + +<h2>More</h2> + +<p>Runit is extremely flexible and simple. Refer to <code>sv</code>, <code>runsv</code>, <code>svc</code>, <code>runsvdir</code> +help outputs for more information.</p> +<a href="/wiki/system/service-management.txt">View Page Source</a><div class=border></div> +<p class=footer>Linux® is a registered trademark of Linus Torvalds</p> +<p class=footer>Copyright © 2019-2020 Cem Keylan</p> +</body> +</html> diff --git a/docs/wiki/system/service-management.txt b/docs/wiki/system/service-management.txt new file mode 100644 index 0000000..fc49f60 --- /dev/null +++ b/docs/wiki/system/service-management.txt @@ -0,0 +1,39 @@ + +Service Management +================== + +Carbs Linux uses busybox-runit as the default system supervisor. + + +Enabling Services +----------------- + +Services start immediately when you enable them, and run by default on boot. + + + $ ln -s /etc/sv/acpid /var/service + + +Disabling a service +------------------- + + $ unlink /var/service/acpid + + +Starting a service +------------------ + + $ sv start acpid + + +Stopping a service +------------------ + + $ sv stop acpid + + +More +---- + +Runit is extremely flexible and simple. Refer to `sv`, `runsv`, `svc`, `runsvdir` +help outputs for more information. |