Move SYSRC config to the rc.conf.local file
This commit is contained in:
parent
59c3b93506
commit
1ac9563c8e
@ -2,19 +2,14 @@ ARG SSH_PORT
|
||||
ARG DOMAIN
|
||||
ARG CERTBOT_EMAIL
|
||||
|
||||
|
||||
INCLUDE https://github.com/s-daveb/ip6jail.template
|
||||
|
||||
CP usr /
|
||||
RENDER /usr/local/etc/lighttpd-proxy.conf
|
||||
|
||||
PKG lighttpd py39-certbot
|
||||
|
||||
SYSRC lighttpd_enable=\"YES\"
|
||||
SYSRC lighttpd_instances=\"proxy\"
|
||||
SYSRC lighttpd_proxy_conf=\"/usr/local/etc/lighttpd-proxy.conf\"
|
||||
SYSRC lighttpd_proxy_pidfile=\"/var/run/http-proxy.pid\"
|
||||
|
||||
CMD cergbot register -m ${CERBOT_EMAIL} --agree-tos
|
||||
CMD certbot register -m ${CERTBOT_EMAIL} --agree-tos
|
||||
CMD certbot certonly --standalone --domains ${DOMAIN}
|
||||
|
||||
SERVICE lighttpd restart
|
||||
|
@ -4,3 +4,10 @@ ifconfig_vnet0_ipv6="inet6 auto_linklocal accept_rtadv -tso6 -rxcsum6 up"
|
||||
|
||||
sshd_enable="YES"
|
||||
firewall_enable="NO"
|
||||
|
||||
lighttpd_enable="YES"
|
||||
lighttpd_instances="proxy"
|
||||
lighttpd_proxy_conf="/usr/local/etc/lighttpd-proxy.conf"
|
||||
lighttpd_proxy_pidfile="/var/run/http-proxy.pid"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user