/[gentoo-x86]/net-misc/sslh/files/sslh.init.d-2
Gentoo

Contents of /net-misc/sslh/files/sslh.init.d-2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 11 15:47:57 2012 UTC (10 months, 2 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -3 lines
Revision bump to fix issue with init script where the daemon is successfully started, but is reported as failed. Thanks to Jamie Furtner <jamie@furtner.ca> for the patch.

(Portage version: 2.1.11.5/cvs/Linux x86_64)

1 #!/sbin/runscript
2 # Copyright 1999-2012 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/files/sslh.init.d,v 1.1 2010/03/05 17:27:40 vapier Exp $
5
6 start() {
7 ebegin "Starting ${SVCNAME}"
8 start-stop-daemon --start \
9 --pidfile /var/run/${SVCNAME}.pid \
10 --exec /usr/sbin/sslh -- \
11 ${OPTIONS} \
12 --pidfile /var/run/${SVCNAME}.pid
13 eend $?
14 }
15
16 stop() {
17 ebegin "Stopping ${SVCNAME}"
18 start-stop-daemon --stop --quiet --retry 20 \
19 --pidfile /var/run/${SVCNAME}.pid
20 eend $?
21 }

  ViewVC Help
Powered by ViewVC 1.1.20