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:
parent
4e5b313174
commit
302524fba1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue