15107: Add LoginCluster test.
[arvados.git] / services / nodemanager / arvados-node-manager.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 [Unit]
6 Description=Arvados Node Manager Daemon
7 Documentation=https://doc.arvados.org/
8 After=network.target
9 AssertPathExists=/etc/arvados-node-manager/config.ini
10
11 # systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
12 StartLimitInterval=0
13
14 # systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
15 StartLimitIntervalSec=0
16
17 [Service]
18 EnvironmentFile=-/etc/default/arvados-node-manager
19 LimitDATA=3145728K
20 LimitRSS=3145728K
21 LimitMEMLOCK=3145728K
22 LimitNOFILE=10240
23 Type=simple
24 ExecStart=/usr/bin/env sh -c '/usr/bin/arvados-node-manager --foreground --config /etc/arvados-node-manager/config.ini 2>&1 | cat'
25 Restart=always
26 RestartSec=1
27
28 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
29 StartLimitInterval=0
30
31 [Install]
32 WantedBy=multi-user.target