From 8cde57c1020b9c0694982c6a56896915ee1957d1 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 25 May 2023 19:15:54 +0200 Subject: [PATCH] weewx: Add restartTriggers --- container/weewx/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/container/weewx/default.nix b/container/weewx/default.nix index 2309d33..b8642da 100644 --- a/container/weewx/default.nix +++ b/container/weewx/default.nix @@ -20,6 +20,11 @@ in ]; }; + systemd.services.podman-weewx.restartTriggers = [ + "${config.age.secrets.weewx-config.file}" + "${config.age.secrets.weewx-skin.file}" + ]; + systemd.tmpfiles.rules = [ "d ${data-dir} 0755 421 421" "d ${data-dir}/html 0755 421 421"