GNU bug report logs - #16507
24.3; systemd unit for a GNU Emacs daemon

Previous Next

Package: emacs;

Reported by: Philipp Moeller <bootsarehax <at> gmail.com>

Date: Mon, 20 Jan 2014 16:48:03 UTC

Severity: wishlist

Found in version 24.3

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Philipp Moeller <bootsarehax <at> gmail.com>
Subject: bug#16507: closed (Re: bug#16507: 24.3; systemd unit for a GNU
 Emacs daemon)
Date: Sun, 13 Nov 2016 23:53:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16507: 24.3; systemd unit for a GNU Emacs daemon

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16507 <at> debbugs.gnu.org.

-- 
16507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16507
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 16507-done <at> debbugs.gnu.org
Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon
Date: Sun, 13 Nov 2016 18:52:03 -0500
Version: 26.1

An emacs.service file is now included (since 181bd84).
Sorry for the delay.

[Message part 3 (message/rfc822, inline)]
From: Philipp Moeller <bootsarehax <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; systemd unit for a GNU Emacs daemon
Date: Mon, 20 Jan 2014 13:34:51 +0100
systemd provides an easy way to set-up a per-user Emacs daemon and there
are several unit files floating around the web. One that works is:

  /etc/systemd/system/emacs@.service
  ----------------------------------
  [Unit]
  Description=GNU Emacs: the extensible, self-documenting text editor
  
  [Service]
  Type=forking
  ExecStart=/usr/bin/emacs --daemon
  ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))"
  Restart=always
  User=%i
  
  [Install]
  WantedBy=multi-user.target

It would be helpful to include this with the default GNU Emacs, so
users don't need to maintain their own files.

The above file would need some configuration through configure to set
the install path correctly and there should be an option to enable or
disable installing it via --with-systemd.



This bug report was last modified 8 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.