mds/app-admin/mmc-core/files/mmc-agent.initd
geos_one c9e4b61f8a add mmc-core
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2118 6952d904-891a-0410-993b-d76249ca496b
2010-05-01 11:02:04 +00:00

21 lines
438 B
Plaintext
Executable File

#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net slapd
}
start() {
ebegin "Starting mmc-agent"
eval start-stop-daemon --start --quiet --exec /usr/sbin/mmc-agent --pidfile /var/run/mmc-agent.pid
eend $?
}
stop() {
ebegin "Stopping mmc-agent"
start-stop-daemon --stop --quiet --pidfile /var/run/mmc-agent.pid
eend $?
}