blob: f46a3991873893e262fcc3953aa72261634c46be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/files/bossogg.initd,v 1.3 2004/07/14 22:46:29 agriffis Exp $
depend() {
after alsasound
}
start() {
ebegin "Starting Boss Ogg"
HOME="/var/bossogg" start-stop-daemon --chuid bossogg --quiet --start --exec /usr/bin/bossogg -- --pidfile /var/bossogg/bossogg.pid -d
eend $?
}
stop() {
ebegin "Stopping Boss Ogg"
start-stop-daemon --quiet --stop --pidfile /var/bossogg/bossogg.pid
rm -f /var/bossogg/bossogg.pid
eend $?
}
|