I attached a patch. Feel free to edit (including the commit message -- I tried to mimic the format, I hope it's fine). This patch works fine for me locally. Best, Tim On Fri, 2020-12-11 at 21:33 +0100, Lars Ingebrigtsen wrote: > Tim Ruffing writes: > > > I think the proper thing to do is > >  - remove the ExecStop line (it's at least redundant and confusing) > >  - add SuccessExitStatus=15 (to tell systemd that 15 is fine) > > Thanks for the analysis of the situation.  This sounds like the right > solution -- could you submit a patch for the emacs.service file?  > Even > if this sounds like an easy fix, I don't use systemd myself for > Emacs, > so I can't verify that the end result is correct (if I were to do the > changes myself). >