First version
This commit is contained in:
commit
243e92a9dd
84 files changed
+4012
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Contest firewall proxy (checks the site name of HTTPS connections)
|
||||
After=network.target firewall.service
|
||||
PartOf=firewall.service
|
||||
# Started and stopped with firewall.service (no [Install] section on purpose)
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/sbin/nginx -t -q -c /etc/contest-firewall/contest-proxy.conf
|
||||
ExecStart=/usr/sbin/nginx -c /etc/contest-firewall/contest-proxy.conf -g 'daemon off;'
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
Reference in new issue
Block a user