From 209abddaf0f7253cb29886cf5dba1d7ffcc14f5c Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Wed, 25 Apr 2018 10:53:00 -0400 Subject: [PATCH] sci-biology/foldingathome: fix systemd unit This isn't a perfect fix since if the EPREFIX path contains characters that need to be quoted the paths will still fail, however when compared to a systemd unit that doesn't work at all this is significantly better than nothing. Bug: http://bugs.gentoo.org/645200 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- ...e-7.4.4-r2.ebuild => foldingathome-7.4.4-r3.ebuild} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename sci-biology/foldingathome/{foldingathome-7.4.4-r2.ebuild => foldingathome-7.4.4-r3.ebuild} (93%) diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild similarity index 93% rename from sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild rename to sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild index 92d3b277ea7a..5df01b800ba7 100644 --- a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild +++ b/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -75,11 +75,11 @@ Documentation=https://folding.stanford.edu/home/the-software/ [Service] Type=simple User=foldingathome -WorkingDirectory="${EPREFIX}/opt/foldingathome" +WorkingDirectory=${EPREFIX}/opt/foldingathome PIDFile=/run/fahclient.pid -ExecStart=./FAHClient -v start -ExecReload=./FAHClient -v restart -ExecStop=./FAHClient -v stop +ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v start +ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart +ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop KillMode=process [Install] -- 2.26.2