Skip to content

Instantly share code, notes, and snippets.

@udomsak
Created May 6, 2021 04:14
Show Gist options
  • Save udomsak/218bc926075a771192dabd7cda31bf15 to your computer and use it in GitHub Desktop.
Save udomsak/218bc926075a771192dabd7cda31bf15 to your computer and use it in GitHub Desktop.
loki systemd unit file for ubuntu 18.04
[Unit]
Description=Loki service
After=network.target
[Service]
Type=simple
User=loki
ExecStart=/usr/local/bin/loki --config.file /etc/grafana/loki/loki-local-config.yaml
[Install]
WantedBy=multi-user.target
@m-rtijn
Copy link

m-rtijn commented Mar 27, 2023

Thanks for sharing this. I had one question: what is the purpose of enabling systemd resource accounting if you are not setting any quota's, restrictions or caps on CPU/IO/memory usage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment