X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/927524f1be454de021180b74999d682780b8cb6b..858bf2e3bae0542d5b7da7dd6e1819660ee0c9c0:/cmd/arvados-server/arvados-dispatch-cloud.service diff --git a/cmd/arvados-server/arvados-dispatch-cloud.service b/cmd/arvados-server/arvados-dispatch-cloud.service index 8d57e8a161..09b0ba94a9 100644 --- a/cmd/arvados-server/arvados-dispatch-cloud.service +++ b/cmd/arvados-server/arvados-dispatch-cloud.service @@ -7,8 +7,6 @@ Description=arvados-dispatch-cloud 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] @@ -19,9 +17,7 @@ ExecStart=/usr/bin/arvados-dispatch-cloud 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