diff options
author | Linus Heckemann <git@sphalerite.org> | 2017-08-12 08:47:30 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-08-30 21:35:17 +0200 |
commit | 46e41da543a3885554733b06e720937f7df742a3 (patch) | |
tree | 4223d1e97ded6334066bfa406d7f54536fb72dba /nixos/modules/services/scheduling | |
parent | 94c363837725397149297d492b7fa2999c8ffa44 (diff) | |
download | nixpkgs-46e41da543a3885554733b06e720937f7df742a3.tar nixpkgs-46e41da543a3885554733b06e720937f7df742a3.tar.gz nixpkgs-46e41da543a3885554733b06e720937f7df742a3.tar.bz2 nixpkgs-46e41da543a3885554733b06e720937f7df742a3.tar.lz nixpkgs-46e41da543a3885554733b06e720937f7df742a3.tar.xz nixpkgs-46e41da543a3885554733b06e720937f7df742a3.tar.zst nixpkgs-46e41da543a3885554733b06e720937f7df742a3.zip |
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.
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r-- | nixos/modules/services/scheduling/cron.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/cron.nix b/nixos/modules/services/scheduling/cron.nix index 7b1a1599e14..6f6977b38a1 100644 --- a/nixos/modules/services/scheduling/cron.nix +++ b/nixos/modules/services/scheduling/cron.nix @@ -122,7 +122,7 @@ in fi ''; - restartTriggers = [ config.environment.etc.localtime.source ]; + restartTriggers = [ config.time.timeZone ]; serviceConfig.ExecStart = "${cronNixosPkg}/bin/cron -n"; }; |