projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18947: Refactor arv-git-httpd as an arvados-server subcommand.
[arvados.git]
/
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 6c2b3bc58d8efc12e2f93787800332196478cb32..b45587ffc06bd683467b8a5f3de086a08e5598b9 100644
(file)
--- 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
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
# 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
ExecStart=/usr/bin/arvados-git-httpd
+# Set a reasonable default for the open file limit
+LimitNOFILE=65536
Restart=always
RestartSec=1
Restart=always
RestartSec=1