www-servers/sniproxy: new package
This commit is contained in:
parent
277f27a98d
commit
399ee3afbf
4 changed files with 107 additions and 0 deletions
17
www-servers/sniproxy/files/sniproxy.init
Normal file
17
www-servers/sniproxy/files/sniproxy.init
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue