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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 14 02:25:03 2004 UTC (15 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.1: +5 -5 lines
  Have the daemon create a .pid file so that the init.d script can kill it and
  make the xinetd entry refer to the service auth instead of identd #50775 by
  Remco Barendse

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

  ViewVC Help
Powered by ViewVC 1.1.20