mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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:
parent
94c3638377
commit
46e41da543
@ -122,7 +122,7 @@ in
|
||||
fi
|
||||
'';
|
||||
|
||||
restartTriggers = [ config.environment.etc.localtime.source ];
|
||||
restartTriggers = [ config.time.timeZone ];
|
||||
serviceConfig.ExecStart = "${cronNixosPkg}/bin/cron -n";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user