better restart policy for promtail

This commit is contained in:
Cyryl Płotnicki 2021-01-16 21:38:51 +00:00
parent 933cdb049e
commit cc101ed0da

View file

@ -2,7 +2,10 @@
{
systemd.services.promtail = {
description = "Promtail service for Loki";
after = [ "network.target" ];
after = [ "zerotierone.service" "network.target" ];
requires = [ "zerotierone.service" "network.target" ];
wants = [ "zerotierone.service" "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {