/[gentoo-x86]/net-misc/midentd/files/midentd.rc
Gentoo

Diff of /net-misc/midentd/files/midentd.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.3
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2004 Gentoo Technologies, Inc. 2# Copyright 1999-2004 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/files/midentd.rc,v 1.1 2004/03/05 15:47:07 vapier Exp $ 4# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/files/midentd.rc,v 1.3 2004/07/15 00:03:29 agriffis Exp $
5 5
6start() { 6start() {
7 ebegin "Starting midentd" 7 ebegin "Starting midentd"
8 start-stop-daemon --start --quiet \ 8 /usr/sbin/midentd ${MIDENTD_OPTS}
9 --pidfile /var/run/midentd.pid --exec /usr/sbin/midentd \
10 -- -u nobody -f
11 eend $? 9 eend $?
12} 10}
13 11
14stop() { 12stop() {
15 ebegin "Stopping midentd" 13 ebegin "Stopping midentd"
16 start-stop-daemon --stop --quiet --pidfile /var/run/midentd.pid 14 start-stop-daemon --stop --quiet --pidfile /var/run/midentd.pid
17 eend $? 15 local ret=$?
16 rm -f /var/run/midentd.pid
17 eend ${ret}
18} 18}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20