scmpc: Sync with gentoo-x86
[mpd.git] / media-sound / scmpc / files / scmpc.init
blobdc93043da888cc658ba9555dc4b2dbf190802e1a
1 #!/sbin/runscript
2 # Copyright 1999-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: $
6 depend() {
7         use net mpd
10 start() {
11         ebegin "Starting scmpc"
12         /usr/bin/scmpc -f /etc/scmpc.conf
13         eend $?
16 stop() {
17         ebegin "Stopping scmpc"
18         /usr/bin/scmpc -k
19         eend $?