changed from forking to simple as recommended by @aszlig
This commit is contained in:
parent
d7d7533c18
commit
9b12db6928
@ -89,10 +89,9 @@ in
|
|||||||
description = "File System Events Scheduler";
|
description = "File System Events Scheduler";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = cfg.extraPackages;
|
path = cfg.extraPackages;
|
||||||
serviceConfig.Type = "forking";
|
|
||||||
serviceConfig.PIDFile = "/run/incrond.pid";
|
serviceConfig.PIDFile = "/run/incrond.pid";
|
||||||
serviceConfig.ExecStartPre = "${pkgs.coreutils}/bin/mkdir -m 710 -p /var/spool/incron";
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user