From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vojtech Stepancik <vojtechstepancik@outlook.com>
Cc: 37847@debbugs.gnu.org
Subject: bug#37847: [PATCH] Improve client/daemon xdg/systemd experience
Date: Wed, 09 Sep 2020 11:35:37 +0200 [thread overview]
Message-ID: <878sdjgumu.fsf@gnus.org> (raw)
In-Reply-To: <MN2PR18MB2765264BB52AE2C13C691A57C9290@MN2PR18MB2765.namprd18.prod.outlook.com> (Vojtech Stepancik's message of "Tue, 08 Sep 2020 23:46:01 +0200")
Vojtech Stepancik <vojtechstepancik@outlook.com> writes:
> When started as a systemd service, the `invocation-name' of the server
> process is `emacsd', which is not indicative of the way the process
> was launched.
>
> For example Flycheck tries to use this variable to compile elisp code
> with the same version of Emacs as the one being used. I'm sure there
> are others.
Would reverting this bit of the patch fix the problem?
[Service]
Type=notify
-ExecStart=emacs --fg-daemon
+ExecStart=@emacs emacsd --fg-daemon
ExecStop=emacsclient --eval "(kill-emacs)"
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2020-09-09 9:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <MN2PR18MB2765AF5AE45CED817D2D0F86C9290@MN2PR18MB2765.namprd18.prod.outlook.com>
2019-10-21 7:15 ` bug#37847: [PATCH] Improve client/daemon xdg/systemd experience Carlos Pita
2019-10-21 7:27 ` Carlos Pita
2019-10-21 15:37 ` Carlos Pita
2020-08-09 13:59 ` Lars Ingebrigtsen
2020-09-08 21:46 ` Vojtech Stepancik
2020-09-09 9:35 ` Lars Ingebrigtsen [this message]
2020-09-09 9:47 ` Vojtech Stepancik
2020-09-09 10:09 ` Lars Ingebrigtsen
2020-10-13 3:48 ` Lars Ingebrigtsen
2021-05-28 17:21 ` Peter Oliver
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=878sdjgumu.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=37847@debbugs.gnu.org \
--cc=vojtechstepancik@outlook.com \
/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.