loperOverlay/media-sound/sndio/files/initd

18 lines
412 B
Text
Raw Permalink Normal View History

#!/sbin/runscript
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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 $?
}