mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #1126 from booxter/emacs-keepalive
Add keepalive flag for emacs service
This commit is contained in:
commit
2eb472230a
1 changed files with 5 additions and 3 deletions
|
@ -44,9 +44,11 @@ in {
|
|||
|
||||
launchd.user.agents.emacs = {
|
||||
path = cfg.additionalPath ++ [ config.environment.systemPath ];
|
||||
serviceConfig.ProgramArguments =
|
||||
[ "${cfg.package}/bin/${cfg.exec}" "--fg-daemon" ];
|
||||
serviceConfig.RunAtLoad = true;
|
||||
serviceConfig = {
|
||||
ProgramArguments = [ "${cfg.package}/bin/${cfg.exec}" "--fg-daemon" ];
|
||||
RunAtLoad = true;
|
||||
KeepAlive = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue