aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gdm/gdm.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gdm/gdm.initd')
-rw-r--r--[-rwxr-xr-x]testing/gdm/gdm.initd17
1 files changed, 6 insertions, 11 deletions
diff --git a/testing/gdm/gdm.initd b/testing/gdm/gdm.initd
index 4c4d63df5d..d4c468bfd7 100755..100644
--- a/testing/gdm/gdm.initd
+++ b/testing/gdm/gdm.initd
@@ -1,18 +1,13 @@
#!/sbin/openrc-run
-GDM_LOG_FILE="/var/log/${SVCNAME}.log"
+supervisor=supervise-daemon
-description="GNOME display manager"
-command=/usr/sbin/${SVCNAME}
-command_args="${gdm_opts}"
-command_background="true"
-start_stop_daemon_args="-w 100 --stdout $GDM_LOG_FILE --stderr $GDM_LOG_FILE"
-pidfile="/run/${SVCNAME}.pid"
+name="Display Manager"
+description="GNOME Display Manager"
-start_pre() {
- checkpath -f -m 0644 -o ${SVCNAME}:${SVCNAME} "$GDM_LOG_FILE"
-}
+command=/usr/sbin/gdm
+command_args="$GDM_OPTS"
depend() {
- need net dbus
+ need net dbus
}