void-packages/srcpkgs/gdm/files/gdm.rc

23 lines
264 B
Plaintext

#!/sbin/runscript
command=/usr/sbin/gdm-binary
depend()
{
need dbus
}
start()
{
ebegin "Starting GDM"
start-stop-daemon --start --exec ${command} --background
eend $?
}
stop()
{
ebegin "Stopping GDM"
start-stop-daemon --stop --exec ${command}
eend $?
}