[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Daemon --- Dies silently
From: |
Mario Lang |
Subject: |
Re: Emacs Daemon --- Dies silently |
Date: |
Thu, 14 Jan 2021 21:39:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) |
"T.V Raman" <raman@google.com> writes:
[...]
> On the other hand emacs --daemon appears to be quitting when I logout
> from the remote machine.
Shot in the dark, but might systemd have something to do with that?
IOW, do you run emacs --daemon via a systemd user service?
If so, see loginctl, in particular:
enable-linger [USER...], disable-linger [USER...]
Enable/disable user lingering for one or more users.
If enabled for a specific user, a user manager is spawned
for the user at boot and kept around after logouts. This allows users who
are not logged in to run long-running services. Takes one or more
user names or numeric UIDs as argument. If no argument is specified,
enables/disables lingering for the user of the session of the caller.
See also KillUserProcesses= setting in logind.conf(5).
--
CYa,
⡍⠁⠗⠊⠕