[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set known success exit status in emacs.service

From: Florian Schmaus
Subject: Re: Set known success exit status in emacs.service
Date: Thu, 2 Jan 2020 20:45:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1

On 1/2/20 12:53 PM, Andreas Schwab wrote:
> On Jan 02 2020, Florian Schmaus wrote:
>> It appears that the emacs daemon will terminate with an exit code value
>> '15' once kill-emacs is invoked.
> Please find out why the exit code isn't zero.

I tried, but without success so far. I was unable to reproduce this
without systemd, so I assume it is caused or at least related to
systemd. Furthermore, the exit code value '15' smells like SIGTERM being

>> As I was unable to find documentation about the exit codes of emacs,
> The exit code is whatever is passed to kill-emacs.

Well, kill-emacs is invoked without any arguments:

ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"

so I assume the exit code stems from something else.

Any pointers which shed some light into what is causing emacs to return
this exit code would be appreciated. Right now, I am stuck.

- Florian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]