diff options
author | Florian Jacob <projects+git@florianjacob.de> | 2017-10-14 00:28:39 +0200 |
---|---|---|
committer | Domen Kožar <domen@enlambda.com> | 2017-10-21 11:27:42 +0100 |
commit | 3338985aab3af2793a2b81473ee98d292a1ed806 (patch) | |
tree | c4b94345a983f4e4a14f68218d9ae8f9be3dcc2d /nixos | |
parent | 96b339fbc93899b42a4b897d0db9854397d90159 (diff) |
nixos/munin: Create MUNIN_PLUGSTATE dir to fix munin_stats plugin
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/monitoring/munin.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix index 723b04dc0fe90..0ec201a0eb16a 100644 --- a/nixos/modules/services/monitoring/munin.nix +++ b/nixos/modules/services/monitoring/munin.nix @@ -193,6 +193,9 @@ in }; }; + # munin_stats plugin breaks as of 2.0.33 when this doesn't exist + systemd.tmpfiles.rules = [ "d /var/run/munin 0755 munin munin -" ]; + }) (mkIf cronCfg.enable { systemd.timers.munin-cron = { |