unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: emacs-devel@gnu.org
Cc: 16507@debbugs.gnu.org, "Romain Francoise" <romain@orebokech.com>,
	"Rüdiger Sonderfeld" <ruediger@c-plusplus.net>
Subject: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon.
Date: Wed, 03 Dec 2014 22:44:03 +0100	[thread overview]
Message-ID: <6721261.0nGYaTEs1s__43755.7959034622$1417643130$gmane$org@descartes> (raw)
In-Reply-To: <87iohstp9m.fsf@kima.orebokech.com>

On Wednesday 03 December 2014 22:08:37 Romain Francoise wrote:
> Is this something that distributions would be expected to enable?
> Because I use both systemd and Emacs, yet I absolutely don't want to
> have an Emacs daemon started by default in my user instance.

It's something the user would be expected to enable.  This should only provide 
the service file and the user can then enable it, using

    systemctl enable --user emacs.service

(or disable it by using disable).

> Also, by default user instances are killed when the last session is
> closed, which would therefore kill the emacs process and kinda defeat
> the point of having a persistent daemon.

Users should be able to prevent this, by using `loginctl enable-linger'.

Regards,
Rüdiger






  parent reply	other threads:[~2014-12-03 21:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 12:34 bug#16507: 24.3; systemd unit for a GNU Emacs daemon Philipp Moeller
2014-01-20 16:58 ` Andreas Schwab
2014-01-20 17:05   ` Glenn Morris
2014-01-20 18:53 ` Ted Zlatanov
2014-01-20 20:25   ` Stefan Monnier
2014-01-20 21:03     ` Nathan Trapuzzano
2014-01-20 22:36     ` Mark Oteiza
2014-12-03 19:39 ` bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon Rüdiger Sonderfeld
2014-12-03 21:08   ` Romain Francoise
2014-12-03 21:16   ` joakim
     [not found]   ` <87iohstp9m.fsf@kima.orebokech.com>
2014-12-03 21:44     ` Rüdiger Sonderfeld [this message]
2014-12-03 22:08     ` Ulrich Mueller
     [not found]     ` <21631.35293.852427.367195@a1i15.kph.uni-mainz.de>
2014-12-04  0:18       ` Rüdiger Sonderfeld
     [not found]       ` <5628178.gi3dgk9OHo@descartes>
2014-12-04  2:57         ` Drew Adams
2014-12-04  6:26         ` Ulrich Mueller
2014-12-04  3:00   ` Glenn Morris
     [not found]   ` <pmvblsrueb.fsf@fencepost.gnu.org>
2014-12-05 17:26     ` Rüdiger Sonderfeld
2014-12-08 17:03       ` Glenn Morris
2014-12-08 18:51         ` Stefan Monnier
2014-12-08 20:41           ` Eli Zaretskii
2014-12-09  2:47             ` Stefan Monnier
2016-11-13 23:52               ` bug#16507: 24.3; systemd unit for a GNU Emacs daemon Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6721261.0nGYaTEs1s__43755.7959034622$1417643130$gmane$org@descartes' \
    --to=ruediger@c-plusplus.de \
    --cc=16507@debbugs.gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=romain@orebokech.com \
    --cc=ruediger@c-plusplus.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).