X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0a98e961b638af177b6e0aebf63f1388cb2b3498:/services/arv-git-httpd/arvados-git-httpd.service..00f65f60e69326839447f431146312481db05f01:/cmd/arvados-server/arvados-git-httpd.service diff --git a/services/arv-git-httpd/arvados-git-httpd.service b/cmd/arvados-server/arvados-git-httpd.service similarity index 78% rename from services/arv-git-httpd/arvados-git-httpd.service rename to cmd/arvados-server/arvados-git-httpd.service index 6c2b3bc58d..b45587ffc0 100644 --- a/services/arv-git-httpd/arvados-git-httpd.service +++ b/cmd/arvados-server/arvados-git-httpd.service @@ -6,13 +6,17 @@ Description=Arvados git server 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] Type=notify +EnvironmentFile=-/etc/arvados/environment ExecStart=/usr/bin/arvados-git-httpd +# Set a reasonable default for the open file limit +LimitNOFILE=65536 Restart=always RestartSec=1