summaryrefslogtreecommitdiff
blob: 062d1a9c39941f5b2c3297fdc6d13a4722aed19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	need dbus alsasound
}

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

stop() {
	ebegin "Stopping pommed daemon"
	start-stop-daemon --stop --pidfile /var/run/pommed.pid
	eend $?
}