fix(crunch-dispatch-local): re-enable crunch-run.sh to tune docker call
[arvados-formula.git] / arvados / dispatcher / service / files / default / crunch-dispatch-local-service.tmpl
1 ########################################################################
2 # File managed by Salt at <{{ source }}>.
3 # Your changes will be overwritten.
4 ########################################################################
5 [Unit]
6 Description=Arvados Crunch Dispatcher for LOCAL service
7 Documentation=https://doc.arvados.org/
8 After=network.target
9
10 # systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
11 StartLimitInterval=0
12
13 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
14 StartLimitIntervalSec=0
15
16 [Service]
17 Type=simple
18 EnvironmentFile=-/etc/arvados/crunch-dispatch-local-credentials
19 ExecStart=/usr/bin/crunch-dispatch-local -poll-interval=1 -crunch-run-command=/usr/local/bin/crunch-run.sh
20 # Set a reasonable default for the open file limit
21 LimitNOFILE=65536
22 Restart=always
23 RestartSec=1
24 LimitNOFILE=1000000
25
26 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
27 StartLimitInterval=0
28
29 [Install]
30 WantedBy=multi-user.target