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

  ViewVC Help
Powered by ViewVC 1.1.20