From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Wed, 03 Dec 2014 22:44:03 +0100 Message-ID: <6721261.0nGYaTEs1s@descartes> References: <5741989.eboZExnV48@descartes> <87iohstp9m.fsf@kima.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417643095 7866 80.91.229.3 (3 Dec 2014 21:44:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 21:44:55 +0000 (UTC) Cc: 16507@debbugs.gnu.org, Romain Francoise , =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 22:44:48 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwHj4-0002HB-8u for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 22:44:46 +0100 Original-Received: from localhost ([::1]:43497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHj3-0003ID-Th for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 16:44:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHih-0003Gx-UH for emacs-devel@gnu.org; Wed, 03 Dec 2014 16:44:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwHiZ-0007CG-4e for emacs-devel@gnu.org; Wed, 03 Dec 2014 16:44:23 -0500 Original-Received: from ptmx.org ([178.63.28.110]:46096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHiY-0007Bl-Ur for emacs-devel@gnu.org; Wed, 03 Dec 2014 16:44:15 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id A58EA2D8E0; Wed, 3 Dec 2014 22:44:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPB9xmzIQ4tl; Wed, 3 Dec 2014 22:44:11 +0100 (CET) Original-Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id EF8002C5F6; Wed, 3 Dec 2014 22:44:09 +0100 (CET) User-Agent: KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <87iohstp9m.fsf@kima.orebokech.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178780 Archived-At: On Wednesday 03 December 2014 22:08:37 Romain Francoise wrote: > Is this something that distributions would be expected to enable? > Because I use both systemd and Emacs, yet I absolutely don't want to > have an Emacs daemon started by default in my user instance. It's something the user would be expected to enable. This should only = provide=20 the service file and the user can then enable it, using systemctl enable --user emacs.service (or disable it by using disable). > Also, by default user instances are killed when the last session is > closed, which would therefore kill the emacs process and kinda defeat= > the point of having a persistent daemon. Users should be able to prevent this, by using `loginctl enable-linger'= . Regards, R=C3=BCdiger