From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Newsgroups: gmane.emacs.bugs Subject: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Wed, 03 Dec 2014 22:44:03 +0100 Message-ID: <6721261.0nGYaTEs1s__43755.7959034622$1417643130$gmane$org@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 1417643130 8325 80.91.229.3 (3 Dec 2014 21:45:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 21:45:30 +0000 (UTC) Cc: 16507@debbugs.gnu.org, Romain Francoise , =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld To: emacs-devel@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 03 22:45:23 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 1XwHjd-0002b2-RE for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2014 22:45:21 +0100 Original-Received: from localhost ([::1]:43502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHjd-0003vy-Gg for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2014 16:45:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHjS-0003tC-CY for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:45:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwHjK-0007lJ-Sx for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:45:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwHjK-0007l9-P8 for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XwHjK-0008Pd-IQ for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2014 16:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Dec 2014 21:45:02 +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.141764305832268 (code B ref 16507); Wed, 03 Dec 2014 21:45:02 +0000 Original-Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 21:44:18 +0000 Original-Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHib-0008OO-M1 for submit@debbugs.gnu.org; Wed, 03 Dec 2014 16:44:17 -0500 Original-Received: from ptmx.org ([178.63.28.110]:60889) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHiY-0008OC-N0 for 16507@debbugs.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-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:96831 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