GNU bug report logs -
#4944
23.1.50; starting a server without forking a daemon
Previous Next
Reported by: Kenny Stuart <kstuart <at> hotmail.co.uk>
Date: Tue, 17 Nov 2009 14:55:04 UTC
Severity: wishlist
Tags: patch
Merged with 2677
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 4944 <at> emacsbugs.donarmstrong.com (full text, mbox):
Kenny Stuart <kstuart <at> hotmail.co.uk> writes:
> Please write in English if possible, because the Emacs maintainers
> usually do not have translators to read other languages for them.
>
> Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.
>
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug. If you can, give
> a recipe starting from `emacs -Q':
>
> This is a feature request to add the facility to start an emacs server
> using a command-line option that runs as a foreground process instead
> of forking a daemon and exiting.
>
> Motivation:
>
> Forking a daemon then exiting the main process is incompatible with
> systems that manage processes as services, such as launchd on OS X,
> therefore it is not possible to create an effective launchd service
> using emacs in daemon mode.
>
> Possible Solution:
>
> For review I have included a patch that adds a --server command line
> option that does what the --daemon option does, except it runs the
> server in the foreground process rather than forking a daemon and
> exiting.
How is this different from:
emacs -f server-start
?
Also note that you do not have to start the daemon explicitly, if you use
emacsclient -a ""
it will start an emacs daemon if one is not already running.
This bug report was last modified 8 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.