diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | etc/emacs.service | 4 |
2 files changed, 8 insertions, 2 deletions
| @@ -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 | ||
| 68 | it runs in the foreground and does not fork. This is intended for | ||
| 69 | modern init systems such as systemd, which manage many of the traditional | ||
| 70 | aspects of daemon behavior themselves. '--old-daemon' is now an alias | ||
| 71 | for '--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 | |||
| 7 | Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ | 7 | Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ |
| 8 | 8 | ||
| 9 | [Service] | 9 | [Service] |
| 10 | Type=forking | 10 | Type=simple |
| 11 | ExecStart=emacs --daemon | 11 | ExecStart=emacs --new-daemon |
| 12 | ExecStop=emacsclient --eval "(kill-emacs)" | 12 | ExecStop=emacsclient --eval "(kill-emacs)" |
| 13 | Environment=SSH_AUTH_SOCK=%t/keyring/ssh | 13 | Environment=SSH_AUTH_SOCK=%t/keyring/ssh |
| 14 | Restart=on-failure | 14 | Restart=on-failure |