diff options
Diffstat (limited to 'net-misc/midentd/files/midentd.rc')
-rw-r--r-- | net-misc/midentd/files/midentd.rc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/midentd/files/midentd.rc b/net-misc/midentd/files/midentd.rc new file mode 100644 index 000000000000..9f8ebb2782fb --- /dev/null +++ b/net-misc/midentd/files/midentd.rc @@ -0,0 +1,18 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/files/midentd.rc,v 1.1 2004/03/05 15:47:07 vapier Exp $ + +start() { + ebegin "Starting midentd" + start-stop-daemon --start --quiet \ + --pidfile /var/run/midentd.pid --exec /usr/sbin/midentd \ + -- -u nobody -f + eend $? +} + +stop() { + ebegin "Stopping midentd" + start-stop-daemon --stop --quiet --pidfile /var/run/midentd.pid + eend $? +} |