projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15529: Support for LoginCluster and RemoteTokenRefresh
[arvados.git]
/
services
/
health
/
arvados-health.service
diff --git
a/services/health/arvados-health.service
b/services/health/arvados-health.service
index a3d036549c85027a96b6ffaf7a8b15358d1672d3..dac7c3a1949c9793cf0aaa2cbcf6b297d4a5a241 100644
(file)
--- a/
services/health/arvados-health.service
+++ b/
services/health/arvados-health.service
@@
-7,16
+7,21
@@
Description=Arvados healthcheck server
Documentation=https://doc.arvados.org/
After=network.target
AssertPathExists=/etc/arvados/config.yml
Documentation=https://doc.arvados.org/
After=network.target
AssertPathExists=/etc/arvados/config.yml
-# systemd<230
+
+# systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
StartLimitInterval=0
StartLimitInterval=0
-# systemd>=230
+
+# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/bin/arvados-health
Restart=always
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/bin/arvados-health
Restart=always
-RestartSec=1s
+RestartSec=1
+
+# systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
+StartLimitInterval=0
[Install]
WantedBy=multi-user.target
[Install]
WantedBy=multi-user.target