www-servers/sniproxy: new package

This commit is contained in:
nemunaire 2017-06-28 19:16:22 +02:00
commit 399ee3afbf
4 changed files with 107 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#!/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
}