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