aboutsummaryrefslogtreecommitdiff
path: root/docs/wiki/system/service-management.html
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-06 12:06:20 +0300
committerCem Keylan <cem@ckyln.com>2020-04-06 12:06:20 +0300
commit979a10c2a68746565f330e871da2a0a112fa1604 (patch)
treeedc502252ef282c7f67f40251300130aa4b094c1 /docs/wiki/system/service-management.html
downloadwebsite-979a10c2a68746565f330e871da2a0a112fa1604.tar.gz
initial commit
Diffstat (limited to 'docs/wiki/system/service-management.html')
-rw-r--r--docs/wiki/system/service-management.html53
1 files changed, 53 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>