`systemd` config for `prmtail` nginx.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-07 23:17:33 +09:00
parent c599fccc2b
commit 110f8ae8bc
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=Grafana Promtail (nginx)
Documentation=https://github.com/grafana/loki
After=network-online.target
[Service]
User=root
Restart=always
ExecStart=/usr/local/bin/promtail --config.file=/etc/promtail/nginx.yaml
[Install]
WantedBy=multi-user.target