1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

use fg-daemon flag for emacs service

As the default package is now emacs 26.1 and --daemon flag falls back to forking behaviour the recommended way is to use fg-daemon, see: lists.gnu.org/archive/html/emacs-devel/2016-11/msg00383.html, lists.gnu.org/archive/html/emacs-devel/2017-05/msg00861.html
This commit is contained in:
Piotr Limanowski 2018-09-03 19:54:56 +02:00 committed by GitHub
parent 7750896cc7
commit 3fabc3d842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ in
launchd.user.agents.emacs = {
serviceConfig.ProgramArguments = [
"${cfg.package}/bin/${cfg.exec}"
"--daemon"
"--fg-daemon"
];
serviceConfig.RunAtLoad = true;
};