upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / loki / trunk / promtail.service
bloba6914f40dc1b78b2d4025fc0df91d3eb4db7821f
1 [Unit]
2 Description=promtail is the agent responsible for gathering logs and sending them to Loki.
3 Documentation=https://grafana.com/docs/loki/latest/clients/promtail/
4 Requires=network-online.target
5 After=network-online.target
7 [Service]
8 Type=simple
9 ExecStart=/usr/bin/promtail -positions.file /var/lib/promtail/positions.yml -config.file /etc/loki/promtail.yaml
10 User=promtail
11 TimeoutStopSec=30s
12 LimitNOFILE=65536
14 NoNewPrivileges=true
15 MemoryDenyWriteExecute=true
16 RestrictRealtime=true
18 ProtectHome=true
19 ProtectSystem=strict
20 ReadWritePaths=/var/lib/promtail
21 PrivateTmp=true
23 PrivateDevices=true
24 ProtectKernelTunables=true
25 ProtectKernelModules=true
26 ProtectControlGroups=true
28 [Install]
29 WantedBy=multi-user.target