From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.bugs Subject: bug#16507: [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__21426.7423529693$1417640971$gmane$org@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: 8bit X-Trace: ger.gmane.org 1417640971 4410 80.91.229.3 (3 Dec 2014 21:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 21:09:31 +0000 (UTC) Cc: 16507@debbugs.gnu.org, emacs-devel@gnu.org To: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 03 22:09:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XwHAp-0005hU-Bk for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2014 22:09:23 +0100 Original-Received: from localhost ([::1]:43362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHAo-0003Qd-Lf for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2014 16:09:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHAd-0003CY-87 for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:09:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwHAU-0000Ie-D7 for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:09:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHAU-0000IO-B3 for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XwHAT-0007V5-NP for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Romain Francoise Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Dec 2014 21:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16507-submit@debbugs.gnu.org id=B16507.141764092228804 (code B ref 16507); Wed, 03 Dec 2014 21:09:01 +0000 Original-Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 21:08:42 +0000 Original-Received: from localhost ([127.0.0.1]:53022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHA9-0007UV-Ib for submit@debbugs.gnu.org; Wed, 03 Dec 2014 16:08:41 -0500 Original-Received: from stringer.orebokech.com ([212.83.175.182]:36153) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHA6-0007UL-OI for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 16:08:39 -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> ("=?UTF-8?Q?R=C3=BCdiger?= Sonderfeld"'s message of "Wed, 03 Dec 2014 20:39:44 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96829 Archived-At: Hi, On Wed, Dec 03, 2014 at 08:39:44PM +0100, Rüdiger 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.