#!/sbin/openrc-run
# Copyright 2018 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

description="SLiM (Simple Login Manager) service"

command="/usr/bin/slim"
command_args="-nodaemon"
command_background="yes"
pidfile="/var/run/slim.pid"

depend() {
	need localmount
	after bootmisc consolefont modules netmount
	after readahead-list ypbind autofs gpm lircmd
	after acpid openvpn
	before alsasound
	use xfs
}
