summarylogtreecommitdiffstats
path: root/victoriametrics-agent.service
blob: e13c527cfacff33971174b622234b24bf8e89696 (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
[Unit]
Description=Fast, cost-effective and scalable time series database
Documentation=https://victoriametrics.github.io/
After=network.target

[Service]
DynamicUser=true
LogsDirectory=victoriametrics-agent
StateDirectory=victoriametrics-agent

AmbientCapabilities=
CapabilityBoundingSet=
LockPersonality=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectHome=true
PrivateDevices=true
NoNewPrivileges=true
MemoryDenyWriteExecute=true

User=victoriametrics
Group=victoriametrics
EnvironmentFile=/etc/default/victoriametrics-agent
ExecStart=/usr/bin/vmagent -remoteWrite.tmpDataPath=/var/lib/victoriametrics-agent $ARGS
LimitNOFILE=65536
LimitNPROC=32000

[Install]
WantedBy=multi-user.target