aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
-rw-r--r--etc/emacs.service4
2 files changed, 8 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 34d64bfac33..15c264f582c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -64,6 +64,12 @@ affected by this, as SGI stopped supporting IRIX in December 2013.
64 64
65* Startup Changes in Emacs 26.1 65* Startup Changes in Emacs 26.1
66 66
67** New option '--new-daemon'. This is the same as '--daemon', except
68it runs in the foreground and does not fork. This is intended for
69modern init systems such as systemd, which manage many of the traditional
70aspects of daemon behavior themselves. '--old-daemon' is now an alias
71for '--daemon'.
72
67 73
68* Changes in Emacs 26.1 74* Changes in Emacs 26.1
69 75
diff --git a/etc/emacs.service b/etc/emacs.service
index 92cdeb5cf49..d9f7fc569d2 100644
--- a/etc/emacs.service
+++ b/etc/emacs.service
@@ -7,8 +7,8 @@ Description=Emacs text editor
7Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ 7Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
8 8
9[Service] 9[Service]
10Type=forking 10Type=simple
11ExecStart=emacs --daemon 11ExecStart=emacs --new-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