all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16507: 24.3; systemd unit for a GNU Emacs daemon
@ 2014-01-20 12:34 Philipp Moeller
  2014-01-20 16:58 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Philipp Moeller @ 2014-01-20 12:34 UTC (permalink / raw)
  To: 16507

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.





^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2016-11-13 23:52 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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:08   ` Romain Francoise
2014-12-03 21:44     ` bug#16507: " Rüdiger Sonderfeld
2014-12-03 21:44     ` Rüdiger Sonderfeld
2014-12-03 22:08     ` bug#16507: " Ulrich Mueller
2014-12-03 22:08     ` Ulrich Mueller
2014-12-04  0:18       ` Rüdiger Sonderfeld
2014-12-04  2:57         ` bug#16507: " Drew Adams
2014-12-04  2:57         ` Drew Adams
2014-12-04  6:26         ` Ulrich Mueller
2014-12-04  6:26         ` Ulrich Mueller
2014-12-04 14:04           ` Rüdiger Sonderfeld
2014-12-04  0:18       ` bug#16507: " Rüdiger Sonderfeld
2014-12-03 21:16   ` joakim
2014-12-03 21:16   ` bug#16507: " joakim
2014-12-04  3:00   ` Glenn Morris
2014-12-04  3:00   ` Glenn Morris
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

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.