From 5ef71c6d221412a16c8bcf5e35c09db241372d8c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 23 Sep 2012 00:07:59 +0200 Subject: [PATCH] smartd: convert service to systemd --- modules/services/monitoring/smartd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/services/monitoring/smartd.nix b/modules/services/monitoring/smartd.nix index 2427f29020e..242faa010f2 100644 --- a/modules/services/monitoring/smartd.nix +++ b/modules/services/monitoring/smartd.nix @@ -75,7 +75,8 @@ in environment.TZ = config.time.timeZone; - startOn = "started syslogd"; + wantedBy = [ "multi-user.target" ]; + partOf = [ "multi-user.target" ]; path = [ pkgs.smartmontools ];