diff options
author | Maxim Devaev <[email protected]> | 2024-02-03 16:11:34 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-02-03 16:13:45 +0200 |
commit | 8d702f8cc26e5a0665ce2f0f0ea403e8d0d4ad79 (patch) | |
tree | 07ae5354a22564335de652e8a02e1ce059955bb4 /configs/os/services/kvmd-nginx.service | |
parent | 272e3bf5e95ed9ad8e304f51c3f62ada53faaa63 (diff) |
kvmd-nginx-mkconf: Render nginx config with kvmd settings
Diffstat (limited to 'configs/os/services/kvmd-nginx.service')
-rw-r--r-- | configs/os/services/kvmd-nginx.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/os/services/kvmd-nginx.service b/configs/os/services/kvmd-nginx.service index 51529dd5..c0eff485 100644 --- a/configs/os/services/kvmd-nginx.service +++ b/configs/os/services/kvmd-nginx.service @@ -10,8 +10,9 @@ SyslogLevel=err Restart=always RestartSec=3 -ExecStart=/usr/sbin/nginx -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf -g 'pid /run/kvmd/nginx.pid; user kvmd-nginx; error_log stderr;' -ExecReload=/usr/sbin/nginx -s reload -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf -g 'pid /run/kvmd/nginx.pid; user kvmd-nginx; error_log stderr;' +ExecStartPre=/usr/bin/kvmd-nginx-mkconf /etc/kvmd/nginx/nginx.conf.mako /run/kvmd/nginx.conf +ExecStart=/usr/sbin/nginx -p /etc/kvmd/nginx -c /run/kvmd/nginx.conf -g 'pid /run/kvmd/nginx.pid; user kvmd-nginx; error_log stderr;' +ExecReload=/usr/sbin/nginx -s reload -p /etc/kvmd/nginx -c /run/kvmd/nginx.conf -g 'pid /run/kvmd/nginx.pid; user kvmd-nginx; error_log stderr;' KillSignal=SIGQUIT KillMode=mixed TimeoutStopSec=3 |