1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
emacs/doc
Glenn Morris 36b99556de Add --new-daemon, which runs in the foreground and does not fork
This is intended for modern init systems such as systemd,
which manage many of the traditional aspects of daemon behavior
themselves.  (Bug#2677)
* src/emacs.c (daemon_type): New integer.
(usage, standard_args): Add --old-daemon and --new-daemon.
(main): Handle --old-daemon and --new-daemon arguments.
Restrict all the forking and complicated daemon stuff to old-daemon.
(Fdaemon_initialized): Handle new-style daemon.
* src/lisp.h (IS_DAEMON, DAEMON_RUNNING) [!WINDOWNT]:
Replace daemon_pipe with daemon_type.
* doc/emacs/cmdargs.texi (Initial Options):
* doc/emacs/glossary.texi (Glossary):
* doc/emacs/misc.texi (Emacs Server):
* doc/lispref/display.texi (Window Systems):
* doc/lispref/os.texi (Startup Summary): Related doc updates.
* etc/NEWS: Mention this.
* etc/emacs.service: Use Type=simple and --new-daemon.
2016-11-15 23:28:47 -08:00
..
emacs Add --new-daemon, which runs in the foreground and does not fork 2016-11-15 23:28:47 -08:00
lispintro Fix references to long obsoleted functions/aliases 2016-11-04 12:51:04 -04:00
lispref Add --new-daemon, which runs in the foreground and does not fork 2016-11-15 23:28:47 -08:00
man * src/emacs.c (usage_message): Mention named daemon. (Bug#24949) 2016-11-15 18:21:06 -05:00
misc ; Spelling fixes 2016-11-04 15:07:13 -07:00