summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorChris Perelstein <[email protected]>2022-03-21 03:50:07 -0400
committerGitHub <[email protected]>2022-03-21 10:50:07 +0300
commitb0837edbf21166d545ec5d7924999a2091026979 (patch)
treed641de34c7300599d9ebb0e4f6f3c5ea74d0823e /configs
parent8638a290ae8c617cbcb1cc17dd64fee7c0d54361 (diff)
Fix kvmd-nginx reload. (#82)
Match global directives (especially pidfile) from ExecStart to allow reload to work.
Diffstat (limited to 'configs')
-rw-r--r--configs/os/services/kvmd-nginx.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/os/services/kvmd-nginx.service b/configs/os/services/kvmd-nginx.service
index e40f98e6..0c702bd0 100644
--- a/configs/os/services/kvmd-nginx.service
+++ b/configs/os/services/kvmd-nginx.service
@@ -9,7 +9,7 @@ PrivateDevices=yes
SyslogLevel=err
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
+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;'
KillSignal=SIGQUIT
KillMode=mixed
TimeoutStopSec=3