aboutsummaryrefslogtreecommitdiffstats
path: root/main/slim/slim.initd
blob: fd9a6c426ae89fcb2830f5f3420fea6e6fa002be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/openrc-run

depends() {
	needs localmount dbus
}

start() {
	ebegin "Starting slim"
	start-stop-daemon --start --quiet --exec /usr/bin/slim -- -d
	eend $?
}

stop() {
	ebegin "Stopping slim"
	start-stop-daemon --stop --quiet --exec /usr/bin/slim
	eend $?
}