aboutsummaryrefslogtreecommitdiffstats
path: root/main/slim/slim.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/slim/slim.initd')
-rwxr-xr-xmain/slim/slim.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/main/slim/slim.initd b/main/slim/slim.initd
new file mode 100755
index 0000000000..4ab113b6b0
--- /dev/null
+++ b/main/slim/slim.initd
@@ -0,0 +1,18 @@
+#!/sbin/runscript
+
+depends() {
+ needs localmount
+}
+
+start() {
+ ebegin "Starting slim"
+ start-stop-daemon --start --quiet --exec /usr/bin/slim -- -d
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping slim"
+ start-stop-daemon --stop --quiet --exec /usr/bin/slim
+ eend $?
+}
+