File: moosefs-chunkserver.service

package info (click to toggle)
moosefs 3.0.117-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,220 kB
  • sloc: ansic: 93,900; sh: 5,021; makefile: 632; javascript: 543
file content (37 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[Unit]
Description=MooseFS chunkserver daemon
Documentation=man:mfschunkserver
After=local-fs.target
Wants=local-fs.target
After=network.target moosefs-master.service
Wants=network-online.target
After=network-online.target
After=nss-lookup.target
After=time-sync.target

[Service]
#Type=notify
Type=simple
ExecStart=/usr/sbin/mfschunkserver -f start
ExecReload=/bin/kill -HUP $MAINPID
OOMScoreAdjust=-999
IOAccounting=true
IOWeight=250
StartupIOWeight=100
KeyringMode=inherit
TimeoutStopSec=5m

Restart=on-failure
RestartSec=4
StartLimitInterval=20
StartLimitBurst=4

LimitMEMLOCK=infinity
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectSystem=full
ProtectKernelTunables=true

[Install]
WantedBy=multi-user.target