From: Mario Lang <mlang@blind.guru>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs Daemon --- Dies silently
Date: Thu, 14 Jan 2021 21:39:27 +0100 [thread overview]
Message-ID: <87wnwfb6dc.fsf@blind.guru> (raw)
In-Reply-To: <p91v9bzthic.fsf@google.com> (T. V. Raman's message of "Thu, 14 Jan 2021 12:01:31 -0800")
"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,
⡍⠁⠗⠊⠕
next prev parent reply other threads:[~2021-01-14 20:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 21:13 Emacs Daemon --- Dies silently T.V Raman
2021-01-13 23:27 ` Daniel Brooks
2021-01-14 3:26 ` Eli Zaretskii
2021-01-14 15:48 ` T.V Raman via Emacs development discussions.
2021-01-14 16:45 ` Eli Zaretskii
2021-01-14 20:01 ` T.V Raman
2021-01-14 20:39 ` Mario Lang [this message]
2021-01-14 21:44 ` T.V Raman via Emacs development discussions.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnwfb6dc.fsf@blind.guru \
--to=mlang@blind.guru \
--cc=emacs-devel@gnu.org \
--cc=raman@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.