From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Wed, 03 Dec 2014 22:08:37 +0100 Organization: orebokech dot com Message-ID: <87iohstp9m.fsf@kima.orebokech.com> References: <5741989.eboZExnV48@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417640957 4111 80.91.229.3 (3 Dec 2014 21:09:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 21:09:17 +0000 (UTC) Cc: 16507@debbugs.gnu.org, emacs-devel@gnu.org To: =?iso-8859-1?Q?R=FCdiger?= Sonderfeld Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 22:09:10 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 1XwHAc-0005Zn-0d for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 22:09:10 +0100 Original-Received: from localhost ([::1]:43357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHAb-0002wx-IV for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 16:09:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHAJ-0002vN-1g for emacs-devel@gnu.org; Wed, 03 Dec 2014 16:08:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwHAC-0000Bc-S3 for emacs-devel@gnu.org; Wed, 03 Dec 2014 16:08:50 -0500 Original-Received: from stringer.orebokech.com ([212.83.175.182]:33817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHAC-00009Y-Me for emacs-devel@gnu.org; Wed, 03 Dec 2014 16:08:44 -0500 Original-Received: from kima.orebokech.com (kima [192.168.2.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by stringer.orebokech.com (Postfix) with ESMTPS id 99A6E14015C; Wed, 3 Dec 2014 22:08:37 +0100 (CET) Original-Received: by kima.orebokech.com (Postfix, from userid 1000) id 86DE6240203; Wed, 3 Dec 2014 22:08:37 +0100 (CET) In-Reply-To: <5741989.eboZExnV48@descartes> (=?iso-8859-1?Q?=22R=FCdiger?= Sonderfeld"'s message of "Wed, 03 Dec 2014 20:39:44 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.83.175.182 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:178774 Archived-At: Hi, On Wed, Dec 03, 2014 at 08:39:44PM +0100, R=FCdiger Sonderfeld wrote: > As discussed in Bug#16507, I've added a systemd service file to deal > with emacs --daemon. This however requires some installation changes. > That's why I submit this patch for review before pushing it. 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. 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.