[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37847: [PATCH] Improve client/daemon xdg/systemd experience
From: |
Lars Ingebrigtsen |
Subject: |
bug#37847: [PATCH] Improve client/daemon xdg/systemd experience |
Date: |
Wed, 09 Sep 2020 11:35:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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