cron service: fix reliance on etc.timezone

This does not fully address the issue, as cron will not restart when
the timezone is changed imperatively as it presumably needs to.
This commit is contained in:
Linus Heckemann 2017-08-12 08:47:30 +01:00 committed by Franz Pletz
parent 94c3638377
commit 46e41da543

View File

@ -122,7 +122,7 @@ in
fi
'';
restartTriggers = [ config.environment.etc.localtime.source ];
restartTriggers = [ config.time.timeZone ];
serviceConfig.ExecStart = "${cronNixosPkg}/bin/cron -n";
};