From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mario Lang Newsgroups: gmane.emacs.devel Subject: Re: Emacs Daemon --- Dies silently Date: Thu, 14 Jan 2021 21:39:27 +0100 Message-ID: <87wnwfb6dc.fsf@blind.guru> References: <20210113211300.0E1D8C21335@raman-glaptop.localdomain> <83y2gwb3lr.fsf@gnu.org> <24576.26590.888158.189983@retriever.mtv.corp.google.com> <83pn27bh79.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33362"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 14 21:40:37 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l09Q3-00089E-Iz for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jan 2021 21:40:35 +0100 Original-Received: from localhost ([::1]:59928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l09Q2-0002Om-LI for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jan 2021 15:40:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l09P9-0001yI-CK for emacs-devel@gnu.org; Thu, 14 Jan 2021 15:39:39 -0500 Original-Received: from familiekainz.at ([37.187.20.171]:58692 helo=ns3035380.ip-37-187-20.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l09P7-0003ci-8l for emacs-devel@gnu.org; Thu, 14 Jan 2021 15:39:39 -0500 Original-Received: by ns3035380.ip-37-187-20.eu (Postfix, from userid 110) id 53A18269; Thu, 14 Jan 2021 20:39:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blind.guru; s=mail; t=1610656770; bh=h6klolXLwG0115kLCxNH5/LEE8j+F6A498Kcj56CZ6c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OIwpsvwOYuva1AFB55PEna612AaTFrXXpSi0J6XAUNelm8dggEZ2ZnKXi7RDiDlew U3TkoQslDWLECGR0IzTcfTRJtNMCnc5Kq+739yDmiZn3LMLIU9McK1kT6n24Xn8an/ T7S0qMdxhLfn+26j5kvmwWKQw1U6uHrJyEMe21I8= Original-Received: from x1.blind.guru (vra-172-171.tugraz.at [129.27.172.171]) by ns3035380.ip-37-187-20.eu (Postfix) with ESMTPSA id D8867269; Thu, 14 Jan 2021 20:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blind.guru; s=mail; t=1610656768; bh=h6klolXLwG0115kLCxNH5/LEE8j+F6A498Kcj56CZ6c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=oWKuadK6SItaVoi4Ojm1kzumWmPmjFa+sQX8+VoeykOhjVWx88j3/mLG7UpFRhMRs cudLz/Zgb4RK7vgn+v0+nBqt7wsOkyStDZzGBN820gm+qiRbGjkDYWJx/12AxMuIjh 2WNvE4Yk4xVlwqW5v9YLomEN5l9at5bqxPCZwsUs= Original-Received: by x1.blind.guru (Postfix, from userid 1000) id CB9A9E8036C; Thu, 14 Jan 2021 21:39:27 +0100 (CET) In-Reply-To: (T. V. Raman's message of "Thu, 14 Jan 2021 12:01:31 -0800") Received-SPF: pass client-ip=37.187.20.171; envelope-from=mlang@blind.guru; helo=ns3035380.ip-37-187-20.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263055 Archived-At: "T.V Raman" 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=3D setting in logind.conf(5). =20=20=20=20=20=20=20=20=20=20=20 --=20 CYa, =E2=A1=8D=E2=A0=81=E2=A0=97=E2=A0=8A=E2=A0=95