15 lines
479 B
Desktop File
15 lines
479 B
Desktop File
[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
|
|
|