projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15900: Report stable gem version for a given commit.
[arvados.git]
/
services
/
keep-web
/
keep-web.service
diff --git
a/services/keep-web/keep-web.service
b/services/keep-web/keep-web.service
index da562121bba6b2a2d158256fef9c82358b59b6c1..23a2c659e0db7349af1a2c7221770523ebac6a2b 100644
(file)
--- a/
services/keep-web/keep-web.service
+++ b/
services/keep-web/keep-web.service
@@
-1,12
+1,26
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
[Unit]
Description=Arvados Keep web gateway
Documentation=https://doc.arvados.org/
After=network.target
[Unit]
Description=Arvados Keep web gateway
Documentation=https://doc.arvados.org/
After=network.target
+# systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
+StartLimitInterval=0
+
+# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
+StartLimitIntervalSec=0
+
[Service]
Type=notify
ExecStart=/usr/bin/keep-web
Restart=always
[Service]
Type=notify
ExecStart=/usr/bin/keep-web
Restart=always
+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