nixos/munin: Create MUNIN_PLUGSTATE dir to fix munin_stats plugin

This commit is contained in:
Florian Jacob 2017-10-14 00:28:39 +02:00 committed by Domen Kožar
parent 96b339fbc9
commit 3338985aab

View file

@ -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 = {