upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / loki / trunk / loki.service
blob4e22aebe259915eb672ea56cbb463ccbc460a15a
1 [Unit]
2 Description=Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system
3 Documentation=https://grafana.com/docs/loki/latest/
4 After=network.target
6 [Service]
7 Type=simple
8 ExecStart=/usr/bin/loki -boltdb.dir /var/lib/loki/index -local.chunk-directory /var/lib/loki/chunks -config.file /etc/loki/loki.yaml
9 TimeoutStopSec=30s
10 User=loki
11 Restart=on-failure
13 NoNewPrivileges=true
14 MemoryDenyWriteExecute=true
15 RestrictRealtime=true
17 ProtectHome=true
18 ProtectSystem=strict
19 ReadWritePaths=/var/lib/loki
20 PrivateTmp=true
22 PrivateDevices=true
23 ProtectKernelTunables=true
24 ProtectKernelModules=true
25 ProtectKernelLogs=true
26 ProtectControlGroups=true
28 [Install]
29 WantedBy=multi-user.target