Merge branch '18947-health'
[arvados.git] / services / crunch-dispatch-slurm / crunch-dispatch-slurm.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 [Unit]
6 Description=Arvados Crunch Dispatcher for SLURM
7 Documentation=https://doc.arvados.org/
8 After=network.target
9
10 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
11 StartLimitIntervalSec=0
12
13 [Service]
14 Type=notify
15 ExecStart=/usr/bin/crunch-dispatch-slurm
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