X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/09c19c4c60d6b9353f98202ac7b1782e762eaf54..858bf2e3bae0542d5b7da7dd6e1819660ee0c9c0:/cmd/arvados-server/keepstore.service diff --git a/cmd/arvados-server/keepstore.service b/cmd/arvados-server/keepstore.service index bcfde3a788..aa5e013dee 100644 --- a/cmd/arvados-server/keepstore.service +++ b/cmd/arvados-server/keepstore.service @@ -7,8 +7,6 @@ Description=Arvados Keep Storage Daemon Documentation=https://doc.arvados.org/ After=network.target AssertPathExists=/etc/arvados/config.yml - -# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section StartLimitIntervalSec=0 [Service] @@ -23,9 +21,7 @@ ExecStart=/usr/bin/keepstore LimitNOFILE=65536 Restart=always RestartSec=1 - -# systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section -StartLimitInterval=0 +RestartPreventExitStatus=2 [Install] WantedBy=multi-user.target