modules/services/monitoring/smartd.nix: pass TZ variable to smartd to ensure that notification e-mails have a proper time zone
svn path=/nixos/trunk/; revision=28702
This commit is contained in:
parent
9177fc455d
commit
a84ada1d92
@ -73,6 +73,8 @@ in
|
|||||||
jobs.smartd =
|
jobs.smartd =
|
||||||
{ description = "S.M.A.R.T. Daemon";
|
{ description = "S.M.A.R.T. Daemon";
|
||||||
|
|
||||||
|
environment.TZ = config.time.timeZone;
|
||||||
|
|
||||||
startOn = "started syslogd";
|
startOn = "started syslogd";
|
||||||
|
|
||||||
daemonType = "daemon";
|
daemonType = "daemon";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user