diff options
Diffstat (limited to 'media-sound/scmpc/files/scmpc-2.init')
-rw-r--r-- | media-sound/scmpc/files/scmpc-2.init | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/scmpc/files/scmpc-2.init b/media-sound/scmpc/files/scmpc-2.init new file mode 100644 index 000000000000..e6165cc0e914 --- /dev/null +++ b/media-sound/scmpc/files/scmpc-2.init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 $? +} |