[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does stopping user shepherd kill my Emacs and how I make it to s
From: |
Nils Landt |
Subject: |
Re: Why does stopping user shepherd kill my Emacs and how I make it to stop? |
Date: |
Sun, 24 Nov 2024 10:04:45 +0100 (CET) |
> Tomas Volf <~@wolfsden.cz> hat am 22.11.2024 20:03 CET geschrieben:
>
>
> Hi,
>
> today I noticed that when I stop my user shepherd (`herd stop root'), it
> kills my Emacs instance. I would like to point out that the Emacs
> daemon is *not* managed by the Shepherd, I just start it using the
> following in the `init.el':
>
> Emacs does not log anything into the terminal regarding the termination
> cause, and shepherd does not mention anything at all. Here is full log
> from shepherd start to termination:
>
> --8<---------------cut here---------------start------------->8---
> Starting service root...
> Service root started.
> Service root running with value #t.
> Service root has been started.
> WARNING: Use of `load' in declarative module (#{ g107}#). Add #:declarative?
> #f to your define-module invocation.
> Daemonizing...
> Restarting signal handler.
> Now running as process 17602.
> Starting services...
> Configuration successfully loaded from '/home/wolf/.config/shepherd/init.scm'.
> Starting service ssh-agent...
> Starting service pulseaudio...
> Starting service dbus...
> Service ssh-agent has been started.
> Service pulseaudio has been started.
> Service dbus has been started.
> Service ssh-agent started.
> Successfully started 3 services in the background.
> Service pulseaudio started.
> Service dbus started.
> Service ssh-agent running with value 17603.
> Service pulseaudio running with value 17604.
> Service dbus running with value 17605.
> Stopping service root...
> Stopping service ssh-agent...
> Service ssh-agent stopped.
> Service ssh-agent is now stopped.
> Stopping service pulseaudio...
> Service pulseaudio stopped.
> Service pulseaudio is now stopped.
> Stopping service dbus...
> Service dbus stopped.
> Service dbus is now stopped.
> Exiting.
> --8<---------------cut here---------------end--------------->8---
>
> Would anyone be able to advice why this is happening (or at least how to
> find out)? And, more importantly, how do I prevent this? I do *not*
> want my Emacs coupled to my user shepherd.
I have no idea, but did you try stopping the services one by one? It might not
be the shepherd killing your Emacs, it might be your Emacs crashing because
dbus (or something) is suddenly gone.