summaryrefslogtreecommitdiff
path: root/configs/os/services
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-10-16 19:29:52 +0300
committerMaxim Devaev <[email protected]>2022-10-16 19:29:52 +0300
commit5d54b32ab603ba010125564bf550585a7348c390 (patch)
tree21fc47ee079e51de524de9c091b6b6fff6f524a9 /configs/os/services
parent7fa7fe5aded515988d312c36c15791b2e2239a2f (diff)
added restart options to the kvmd-nginx.service
Diffstat (limited to 'configs/os/services')
-rw-r--r--configs/os/services/kvmd-nginx.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-nginx.service b/configs/os/services/kvmd-nginx.service
index 0c702bd0..51529dd5 100644
--- a/configs/os/services/kvmd-nginx.service
+++ b/configs/os/services/kvmd-nginx.service
@@ -7,6 +7,8 @@ Type=forking
PIDFile=/run/kvmd/nginx.pid
PrivateDevices=yes
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;'