summaryrefslogtreecommitdiff
blob: 028faa54ecb7071020ec53e2b0e56c59f1c28044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/openrc-run
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

depend() {
	use net
}

start() {
	ebegin "Starting daudio"
	start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/daudio.pid --exec /usr/bin/daudiod
	eend $?
}

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