mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +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 {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
launchd.daemons.activate-system = {
|
launchd.daemons.activate-system = {
|
||||||
serviceConfig.Program = "${activateScript}";
|
serviceConfig.ProgramArguments = [ "/bin/sh" "${activateScript}" ];
|
||||||
serviceConfig.KeepAlive.SuccessfulExit = false;
|
serviceConfig.KeepAlive.SuccessfulExit = false;
|
||||||
serviceConfig.RunAtLoad = true;
|
serviceConfig.RunAtLoad = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue