From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Mon, 08 Dec 2014 12:03:23 -0500 Message-ID: References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> <13253045.UFzoSI2klF@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 1418058261 17674 80.91.229.3 (8 Dec 2014 17:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 17:04:21 +0000 (UTC) Cc: 16507@debbugs.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 Mon Dec 08 18:04:13 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 1Xy1jI-0006Xo-T0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 18:04:13 +0100 Original-Received: from localhost ([::1]:35104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy1jI-0006hu-BP for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 12:04:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy1jA-0006fR-Em for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 12:04:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy1j7-0006XB-UR for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 12:04:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy1j7-0006X7-RI for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 12:04:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xy1j7-0002XN-NB for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 12:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Dec 2014 17:04: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.14180582079690 (code B ref 16507); Mon, 08 Dec 2014 17:04:01 +0000 Original-Received: (at 16507) by debbugs.gnu.org; 8 Dec 2014 17:03:27 +0000 Original-Received: from localhost ([127.0.0.1]:57869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy1iZ-0002WE-1i for submit@debbugs.gnu.org; Mon, 08 Dec 2014 12:03:27 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:53677) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy1iX-0002W5-IX for 16507@debbugs.gnu.org; Mon, 08 Dec 2014 12:03:25 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xy1iW-0003OX-0c; Mon, 08 Dec 2014 12:03:24 -0500 X-Spook: BCCI dictionary Albright halcon Cocaine AFSPC Soviet Dick X-Ran: EA>8z/1pr?GSf/|'OnOE(sKSc7.{/#ANQ^EKWc%A,tB.{]:/Jlq ("=?UTF-8?Q?R=C3=BCdiger?= Sonderfeld"'s message of "Fri, 05 Dec 2014 18:26:58 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:97007 Archived-At: R=C3=BCdiger Sonderfeld wrote: > I'm a bit afraid that using the directory given by systemd might be > confusing because it won't respect the prefix set by the user. E.g., > Emacs being installed to /usr/local but the service file going to > /usr/lib/systemd/user. I agree that that is an issue. Personally I think you should respect the user's prefix. For example, I often install software as a non-root user into my local software space, and it's always annoying when things try to install files into /usr (which fails due to lack of permission). It's going to take a bit of know-how to actually enable the service, and I think people doing that will be able to cope with copying the file to the appropriate location if they need to.