itamae/cookbooks/gitea/files/etc/systemd/system/promtail-gitea.service

13 lines
257 B
SYSTEMD

[Unit]
Description=Grafana Promtail
Documentation=https://github.com/grafana/loki
After=network-online.target
[Service]
User=root
Restart=always
ExecStart=/usr/local/bin/promtail --config.file=/etc/promtail/gitea.yaml
[Install]
WantedBy=multi-user.target