better restart policy for promtail
This commit is contained in:
parent
933cdb049e
commit
cc101ed0da
1 changed files with 4 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue