about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-07-28 15:49:54 +0200
committerJuan RP <xtraeme@gmail.com>2014-07-28 15:49:54 +0200
commitd30452e623b42be50f882ce863271b55f807bbca (patch)
treebc805fb6717522f0407c7f31e4b03fc58e34990c
parentc883ca35526c1970aca2b2df454653cd2280c725 (diff)
downloadrunit-void-d30452e623b42be50f882ce863271b55f807bbca.tar.gz
runit-void-d30452e623b42be50f882ce863271b55f807bbca.tar.xz
runit-void-d30452e623b42be50f882ce863271b55f807bbca.zip
New service: gdm.
-rwxr-xr-xservices/gdm/run4
l---------services/gdm/supervise1
2 files changed, 5 insertions, 0 deletions
diff --git a/services/gdm/run b/services/gdm/run
new file mode 100755
index 0000000..7c9aaaa
--- /dev/null
+++ b/services/gdm/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+sv check dbus >/dev/null || exit 1
+[ ! -d /run/gdm ] && mkdir -m0711 -p /run/gdm && chown root:gdm /run/gdm
+exec gdm
diff --git a/services/gdm/supervise b/services/gdm/supervise
new file mode 120000
index 0000000..2ca8bed
--- /dev/null
+++ b/services/gdm/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.gdm
\ No newline at end of file