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