[Unit] Description=Promtail service After=network-online.target Wants=network-online.target [Service] Type=simple User=promtail ExecStart=/usr/bin/promtail -config.file /etc/promtail/config.yml # Give a reasonable amount of time for promtail to start up/shut down TimeoutSec = 60 Restart = on-failure RestartSec = 2 [Install] WantedBy=multi-user.target