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

depend() {
	use net mpd
}

start() {
	ebegin "Starting scmpc"
	/usr/bin/scmpc -f /etc/scmpc.conf
	eend $?
}

stop() {
	ebegin "Stopping scmpc"
	/usr/bin/scmpc -kf /etc/scmpc.conf
	eend $?
}