Added promtail restart rules
This commit is contained in:
parent
f923e75a03
commit
2244d34ac1
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@
|
|||
sopsFile = ../secrets/secrets.yaml;
|
||||
};
|
||||
|
||||
# Restart the unit if the secret changes
|
||||
sops.secrets."secrets.yaml" = {
|
||||
restartUnits = [ "promtail.service" ];
|
||||
};
|
||||
|
||||
# Install the package
|
||||
environment.systemPackages = with pkgs; [
|
||||
promtail
|
||||
|
|
Loading…
Reference in a new issue