summarylogtreecommitdiffstats
path: root/parca.service
blob: 387655371418c371c418f1a4afb0d7dea794915f (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
[Unit]
Description=Parca service
Requires=network-online.target
After=network-online.target

[Service]
User=parca
Group=parca
Restart=on-failure
WorkingDirectory=/var/lib/parca
EnvironmentFile=-/etc/conf.d/parca
ExecStart=/usr/bin/parca --config-path=/etc/parca/parca.yaml $PARCA_ARGS
ExecReload=/bin/kill -HUP $MAINPID
LimitNOFILE=65535
NoNewPrivileges=true
ProtectHome=true
ProtectHostname=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
LockPersonality=true
RestrictRealtime=yes
RestrictNamespaces=yes
MemoryDenyWriteExecute=yes
CapabilityBoundingSet=

[Install]
WantedBy=multi-user.target