aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky2017-05-29 22:13:53 -0400
committerNoam Postavsky2017-05-29 22:18:55 -0400
commit75b849294656fd92e77a2a6281ff4dceaaa38475 (patch)
tree3df43d0cc640c8f5522461be9d346530d26e3bcd /etc
parent941a2e7347e3a0d393e67872e6151be8cc66d9a2 (diff)
downloademacs-75b849294656fd92e77a2a6281ff4dceaaa38475.tar.gz
emacs-75b849294656fd92e77a2a6281ff4dceaaa38475.zip
Rename '--new-daemon' to 'fg-daemon' and '--old-daemon' to '--bg-daemon'
* doc/emacs/cmdargs.texi (Initial Options): * doc/lispref/os.texi (Startup Summary): * etc/NEWS: * etc/emacs.service: * src/emacs.c (main): * src/lisp.h: Rename '--new-daemon' to 'fg-daemon' and '--old-daemon' to '--bg-daemon'.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
-rw-r--r--etc/emacs.service2
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 60066b7c9fa..14cada4d4f5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -78,10 +78,11 @@ affected by this, as SGI stopped supporting IRIX in December 2013.
78 78
79* Startup Changes in Emacs 26.1 79* Startup Changes in Emacs 26.1
80 80
81** New option '--new-daemon'. This is the same as '--daemon', except 81+++
82** New option '--fg-daemon'. This is the same as '--daemon', except
82it runs in the foreground and does not fork. This is intended for 83it runs in the foreground and does not fork. This is intended for
83modern init systems such as systemd, which manage many of the traditional 84modern init systems such as systemd, which manage many of the traditional
84aspects of daemon behavior themselves. '--old-daemon' is now an alias 85aspects of daemon behavior themselves. '--bg-daemon' is now an alias
85for '--daemon'. 86for '--daemon'.
86 87
87+++ 88+++
diff --git a/etc/emacs.service b/etc/emacs.service
index d9f7fc569d2..b29177b120c 100644
--- a/etc/emacs.service
+++ b/etc/emacs.service
@@ -8,7 +8,7 @@ Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
8 8
9[Service] 9[Service]
10Type=simple 10Type=simple
11ExecStart=emacs --new-daemon 11ExecStart=emacs --fg-daemon
12ExecStop=emacsclient --eval "(kill-emacs)" 12ExecStop=emacsclient --eval "(kill-emacs)"
13Environment=SSH_AUTH_SOCK=%t/keyring/ssh 13Environment=SSH_AUTH_SOCK=%t/keyring/ssh
14Restart=on-failure 14Restart=on-failure