2411: Add copyright notices to everything.
[arvados.git] / services / keep-web / keep-web.service
index 24be7714d5881cf2897cb61b9ddbc751ed215392..a8f8f1ffa1336329d7ff0f0c6ad76daeb65ddb0d 100644 (file)
@@ -1,13 +1,22 @@
+# 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
 AssertPathExists=/etc/arvados/keep-web/keep-web.yml
+# systemd<230
+StartLimitInterval=0
+# systemd>=230
+StartLimitIntervalSec=0
 
 [Service]
 Type=notify
 ExecStart=/usr/bin/keep-web
 Restart=always
+RestartSec=1
 
 [Install]
 WantedBy=multi-user.target