summaryrefslogtreecommitdiff
path: root/data/templates/https/override.conf.tmpl
blob: 1760a5ff3f3626d852e3b9a8eefeea1745b0cc84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %}
[Unit]
StartLimitIntervalSec=0
After=vyos-router.service

[Service]
ExecStartPre=
ExecStartPre={{vrf_command}}/usr/sbin/nginx -t -q -g 'daemon on; master_process on;'
ExecStart=
ExecStart={{vrf_command}}/usr/sbin/nginx -g 'daemon on; master_process on;'
ExecReload=
ExecReload={{vrf_command}}/usr/sbin/nginx -g 'daemon on; master_process on;' -s reload
Restart=always
RestartPreventExitStatus=
RestartSec=10