You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-servers/sniproxy/files/sniproxy.init

18 lines
493 B

#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
name="sniproxy daemon"
description="Proxies incoming HTTP and TLS connections based on the hostname contained in the initial request."
SNIPROXY_CONFFILE=${SNIPROXY_CONFFILE:-/etc/sniproxy/${SVCNAME}.conf}
command="/usr/sbin/sniproxy"
command_args="-c \"${SNIPROXY_CONFFILE}\""
pidfile=${SNIPROXY_PIDFILE:-/var/run/sniproxy.pid}
depend() {
need net
use logger
}