quarks/media-sound/sndio/files/initd

19 lines
425 B
Plaintext
Raw Normal View History

#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
start() {
einfo Starting sndiod ...
start-stop-daemon --start --pidfile /var/run/sndiod.pid \
--background --make-pidfile \
--exec /usr/bin/sndiod -- ${SNDIO_OPTS}
eend $?
}
stop() {
einfo Stopping sndiod ...
start-stop-daemon --stop --pidfile /var/run/sndiod.pid
eend $?
}