summarylogtreecommitdiffstats
path: root/vmstorage.service
blob: 960e731af912a95a338ace85bd28e1a1cfca50ca (plain)
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
[Unit]
Description=vmstorage - stores the raw data and returns the queried data on the given time range for the given label filters
Documentation=https://docs.victoriametrics.com/cluster-victoriametrics
Requires=network-online.target
Before=vmauth.service
After=network-online.target nss-lookup.target basic.target
Wants=network-online.target nss-lookup.target

[Service]
User=victoriametrics
Group=victoriametrics
WorkingDirectory=/var/lib/victoriametrics/cluster-data
EnvironmentFile=-/etc/conf.d/vmstorage
ExecStart=/usr/bin/vmstorage --storageDataPath="/var/lib/victoriametrics/cluster-data" --loggerDisableTimestamps --loggerOutput="stdout" $VMSTORAGE_ARGS
ExecStop=/bin/kill -s SIGTERM $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
LimitNOFILE=1048576
LimitNPROC=1048576
SyslogIdentifier=vmstorage
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
ProtectHostname=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
LockPersonality=true
RestrictRealtime=true
RestrictNamespaces=true
MemoryDenyWriteExecute=true
PrivateDevices=true
CapabilityBoundingSet=

[Install]
WantedBy=multi-user.target