From: | "Michael Palimaka (kensington)" <kensington@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/sslh/files: sslh.conf.d-2 sslh.init.d-2 |
Date: | Fri, 06 Jul 2012 18:16:29 |
Message-Id: | 20120706181619.A1D702004C@flycatcher.gentoo.org |
1 | kensington 12/07/06 18:16:19 |
2 | |
3 | Added: sslh.conf.d-2 sslh.init.d-2 |
4 | Log: |
5 | Version bump wrt bug #424685. Take over maintainership of package. |
6 | |
7 | (Portage version: 2.1.11.5/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/sslh/files/sslh.conf.d-2 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sslh/files/sslh.conf.d-2?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sslh/files/sslh.conf.d-2?rev=1.1&content-type=text/plain |
14 | |
15 | Index: sslh.conf.d-2 |
16 | =================================================================== |
17 | # /etc/conf.d/sslh |
18 | |
19 | # Options to sslh itself. See the sslh(1) man page. |
20 | #OPTIONS="" |
21 | |
22 | # Multiplexing example |
23 | # Port 44 can be used for ssh, http, and https. Drop privileges after starting. |
24 | #OPTIONS="-p localhost:44 --ssh 127.0.0.1:22 --http 127.0.0.1:80 --ssl 127.0.0.1:443 --user nobody" |
25 | |
26 | |
27 | |
28 | 1.1 net-misc/sslh/files/sslh.init.d-2 |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sslh/files/sslh.init.d-2?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sslh/files/sslh.init.d-2?rev=1.1&content-type=text/plain |
32 | |
33 | Index: sslh.init.d-2 |
34 | =================================================================== |
35 | #!/sbin/runscript |
36 | # Copyright 1999-2012 Gentoo Foundation |
37 | # Distributed under the terms of the GNU General Public License v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/files/sslh.init.d-2,v 1.1 2012/07/06 18:16:19 kensington Exp $ |
39 | |
40 | start() { |
41 | ebegin "Starting ${SVCNAME}" |
42 | start-stop-daemon --start \ |
43 | --exec /usr/bin/sslh -- ${OPTIONS} \ |
44 | --pidfile /var/run/sslh.pid |
45 | eend $? |
46 | } |
47 | |
48 | stop() { |
49 | ebegin "Stopping ${SVCNAME}" |
50 | start-stop-daemon --stop --quiet --retry 20 \ |
51 | --pidfile /var/run/sslh.pid |
52 | eend $? |
53 | } |