X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/060d38d627bd1e51dd2b3c6e7de9af6aa7d7b6f3..23ce820aad666f5ad897ffe106f8b5f7e4baac33:/services/keepproxy/keepproxy.service diff --git a/services/keepproxy/keepproxy.service b/services/keepproxy/keepproxy.service index d7ee97e963..9548cb219b 100644 --- a/services/keepproxy/keepproxy.service +++ b/services/keepproxy/keepproxy.service @@ -6,17 +6,20 @@ Description=Arvados Keep Proxy Documentation=https://doc.arvados.org/ After=network.target -AssertPathExists=/etc/arvados/keepproxy/keepproxy.yml -# systemd<230 -StartLimitInterval=0 -# systemd>=230 + +# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section StartLimitIntervalSec=0 [Service] Type=notify ExecStart=/usr/bin/keepproxy +# Set a reasonable default for the open file limit +LimitNOFILE=65536 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