aports/testing/gdm/gdm.initd
Rasmus Thomsen 983a26f862
testing/gdm: update to 3.32.0
Closes: GH-7379
2019-05-25 18:05:19 +02:00

19 lines
404 B
Plaintext
Executable File

#!/sbin/openrc-run
GDM_LOG_FILE="/var/log/${SVCNAME}.log"
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"
start_pre() {
checkpath -f -m 0644 -o ${SVCNAME}:${SVCNAME} "$GDM_LOG_FILE"
}
depend() {
need net
}