#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { need net use dns mysql } start() { ebegin "Starting VMPSd" start-stop-daemon \ --start \ --background \ --make-pidfile \ --pidfile /var/run/vmpsd.pid \ --exec /usr/bin/vmpsd eend $? "Failed to start VMPSd" } stop() { ebegin "Stopping VMPSd" start-stop-daemon --stop --pidfile /var/run/vmpsd.pid eend $? "Failed to stop VMPSd" rm -f /var/run/vmpsd.pid }