From: Mark Oteiza <mvoteiza@udel.edu>
To: 16507@debbugs.gnu.org
Subject: bug#16507: 24.3; systemd unit for a GNU Emacs daemon
Date: Mon, 20 Jan 2014 17:36:13 -0500 [thread overview]
Message-ID: <87eh422sde.fsf@holos.localdomain> (raw)
In-Reply-To: <jwvsisi5rki.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Mon, 20 Jan 2014 15:25:48 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I would like that as part of the package, even if 95% of users never
>> need it. The 5% that do will appreciate the convenience.
>
> I don't see any problem with adding such a file.
> I guess it would go in `etc'?
>
>
> Stefan
Units of installed packages go in lib, per systemd.unit(5)
The addition of a user unit should also be considered. Here is an example:
[Unit]
Description=GNU Emacs daemon
Documentation=man:emacs(1) info:Emacs
[Service]
Type=forking
ExecStart=/usr/bin/emacs --daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
[Install]
WantedBy=default.target
next prev parent reply other threads:[~2014-01-20 22:36 UTC|newest]
Thread overview: 31+ 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 [this message]
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 ` Ulrich Mueller
2014-12-04 0:18 ` bug#16507: " Rüdiger Sonderfeld
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 14:04 ` Rüdiger Sonderfeld
2014-12-04 6:26 ` bug#16507: " Ulrich Mueller
2014-12-03 22:08 ` Ulrich Mueller
2014-12-03 21:16 ` joakim
2014-12-03 21:16 ` joakim
2014-12-04 3:00 ` bug#16507: " 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
2014-12-04 3:00 ` bug#16507: [RFC] Add a systemd service file for dealing with 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eh422sde.fsf@holos.localdomain \
--to=mvoteiza@udel.edu \
--cc=16507@debbugs.gnu.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.