1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00

services.activate-system: wrap activation script

This commit is contained in:
Daiderd Jordan 2016-12-14 22:03:23 +01:00
parent 4e5b313174
commit 302524fba1
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -41,7 +41,7 @@ in
config = mkIf cfg.enable {
launchd.daemons.activate-system = {
serviceConfig.Program = "${activateScript}";
serviceConfig.ProgramArguments = [ "/bin/sh" "${activateScript}" ];
serviceConfig.KeepAlive.SuccessfulExit = false;
serviceConfig.RunAtLoad = true;
};