aboutsummaryrefslogtreecommitdiffstats
path: root/community/xdm/xdm.initd
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 19:26:35 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-25 08:25:48 -0300
commitd8587c90a7283de7cfb376a4b9c1bdd03e980cd8 (patch)
tree12918d652b14ea77ca0081ce188ae8e9c253efa7 /community/xdm/xdm.initd
parentda693ec465f17dbe0f94b67675aa183efc49dc93 (diff)
downloadaports-d8587c90a7283de7cfb376a4b9c1bdd03e980cd8.tar.bz2
aports-d8587c90a7283de7cfb376a4b9c1bdd03e980cd8.tar.xz
community/xdm: move from main
Diffstat (limited to 'community/xdm/xdm.initd')
-rw-r--r--community/xdm/xdm.initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/xdm/xdm.initd b/community/xdm/xdm.initd
new file mode 100644
index 0000000000..7e13d5a085
--- /dev/null
+++ b/community/xdm/xdm.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+
+supervisor=supervise-daemon
+
+name="Display Manager"
+description="X Display Manager"
+
+command=/usr/bin/xdm
+command_args="${xdm_opts}"
+command_args_foreground="-nodaemon"
+
+depends() {
+ needs localmount
+}
+
+# uses the openrc templates for start()/stop()
+