From: Glenn Morris <rgm@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 2677@debbugs.gnu.org, rfrancoise@debian.org,
Jameson Rollins <jrollins@finestructure.net>
Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground
Date: Mon, 29 Feb 2016 12:08:49 -0500 [thread overview]
Message-ID: <bdpovf1m1q.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87vb58yy6f.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 29 Feb 2016 14:48:08 +1100")
Lars Ingebrigtsen wrote:
> Jameson Rollins <jrollins@finestructure.net> writes:
>
>> This is a feature request more than a bug: I would really like to see
>> the ability to run the emacs server daemon ("emacs --daemon") in the
>> foreground. This would be very useful. I would like to be able to
>> start/control this daemon with a service supervisor (i.e. runit [0]).
>> This would allow me to easily start the daemon on system start up, and
>> have access to the daemon from all xsessions and virtual terminals.
>
> --daemon is a switch for running Emacs in the background. If you don't
> want Emacs running in the background, you don't have to do anything in
> particular.
--daemon _should_ be a switch for running a "headless" Emacs.
The fact that it forks and runs in the background is not an essential
condition, and the justification for not doing so is provided in the
report. See eg "new-style daemons" on
https://www.freedesktop.org/software/systemd/man/daemon.html
I guess that systemd type = forking should be able to handle current
Emacs, but the above reference says that "new-style" daemons are
preferred.
next prev parent reply other threads:[~2016-02-29 17:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 5:23 bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Jameson Rollins
2016-02-29 3:48 ` Lars Ingebrigtsen
2016-02-29 17:08 ` Glenn Morris [this message]
2016-02-29 17:11 ` Glenn Morris
2016-02-29 17:22 ` Jameson Graef Rollins
2016-11-16 7:35 ` Glenn Morris
2016-11-16 15:50 ` Eli Zaretskii
2016-11-18 7:01 ` Glenn Morris
[not found] ` <handler.2677.D2677.14792817396961.notifdone@debbugs.gnu.org>
2016-11-16 17:21 ` bug#2677: closed (Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground) Jameson Graef Rollins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bdpovf1m1q.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=2677@debbugs.gnu.org \
--cc=jrollins@finestructure.net \
--cc=larsi@gnus.org \
--cc=rfrancoise@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.