More cleanup, remove references to Ubuntu 16.04 (xenial) which is no
[arvados.git] / services / crunch-dispatch-local / crunch-dispatch-local.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4 [Unit]
5 Description=Arvados Crunch Dispatcher for LOCAL service
6 Documentation=https://doc.arvados.org/
7 After=network.target
8
9 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
10 StartLimitIntervalSec=0
11
12 [Service]
13 Type=simple
14 EnvironmentFile=-/etc/arvados/crunch-dispatch-local-credentials
15 ExecStart=/usr/bin/crunch-dispatch-local -poll-interval=1 -crunch-run-command=/usr/bin/crunch-run
16 # Set a reasonable default for the open file limit
17 LimitNOFILE=65536
18 Restart=always
19 RestartSec=1
20 LimitNOFILE=1000000
21
22 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
23 StartLimitInterval=0
24
25 [Install]
26 WantedBy=multi-user.target