changed from forking to simple as recommended by @aszlig

This commit is contained in:
Aaron Andersen 2018-08-31 03:03:04 +00:00
parent d7d7533c18
commit 9b12db6928

View File

@ -89,10 +89,9 @@ in
description = "File System Events Scheduler";
wantedBy = [ "multi-user.target" ];
path = cfg.extraPackages;
serviceConfig.Type = "forking";
serviceConfig.PIDFile = "/run/incrond.pid";
serviceConfig.ExecStartPre = "${pkgs.coreutils}/bin/mkdir -m 710 -p /var/spool/incron";
serviceConfig.ExecStart = "${pkgs.incron}/bin/incrond";
serviceConfig.ExecStart = "${pkgs.incron}/bin/incrond --foreground";
};
};