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: Fri, 05 Dec 2014 18:26:58 +0100 Message-ID: <13253045.UFzoSI2klF@descartes> References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> 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 1417800513 26003 80.91.229.3 (5 Dec 2014 17:28:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 17:28:33 +0000 (UTC) To: 16507@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 05 18:28:26 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 1Xwwg5-0004B9-MV for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 18:28:25 +0100 Original-Received: from localhost ([::1]:51603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwg5-0000Wg-99 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 12:28:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwfs-0000VF-7E for bug-gnu-emacs@gnu.org; Fri, 05 Dec 2014 12:28:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwwfi-0006su-Nv for bug-gnu-emacs@gnu.org; Fri, 05 Dec 2014 12:28:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwfi-0006sq-Kx for bug-gnu-emacs@gnu.org; Fri, 05 Dec 2014 12:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xwwfi-0002Oc-De for bug-gnu-emacs@gnu.org; Fri, 05 Dec 2014 12:28: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: Fri, 05 Dec 2014 17:28: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, 16507@debbugs.gnu.org Original-Received: via spool by 16507-submit@debbugs.gnu.org id=B16507.14178004339126 (code B ref 16507); Fri, 05 Dec 2014 17:28:02 +0000 Original-Received: (at 16507) by debbugs.gnu.org; 5 Dec 2014 17:27:13 +0000 Original-Received: from localhost ([127.0.0.1]:54900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xwwev-0002N8-Fo for submit@debbugs.gnu.org; Fri, 05 Dec 2014 12:27:13 -0500 Original-Received: from ptmx.org ([178.63.28.110]:45924) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xwwes-0002My-E7 for 16507@debbugs.gnu.org; Fri, 05 Dec 2014 12:27:11 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 9BDE42D96E; Fri, 5 Dec 2014 18:27:08 +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 JesH+8KvafCi; Fri, 5 Dec 2014 18:27:06 +0100 (CET) Original-Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id 60B762C92C; Fri, 5 Dec 2014 18:27:06 +0100 (CET) User-Agent: KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: 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:96894 Archived-At: On Wednesday 03 December 2014 22:00:44 Glenn Morris wrote: > Thanks, looks nice. > (Don't see why it needed to be posted to two mailing lists though.) Sorry about that. > Should the name of the service file not respect program-transform tho= ugh? > Ie, if I am installing the Emacs binary as "emacs24", should the serv= ice > file not be installed as "emacs24.service"? That makes sense and would solve the problem of having several Emacs ve= rsions=20 installed. I'm a bit afraid that using the directory given by systemd might be con= fusing=20 because it won't respect the prefix set by the user. E.g., Emacs being= =20 installed to /usr/local but the service file going to /usr/lib/systemd/= user. =20 However, I think this is just the way systemd expects things to be and = it=20 would be up to the systemd developers to change this. Regards, R=C3=BCdiger