sci-biology/foldingathome: attempt to fix init and service files
authorJoonas Niilola <juippis@gentoo.org>
Fri, 27 Mar 2020 07:15:22 +0000 (09:15 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Fri, 27 Mar 2020 07:17:34 +0000 (09:17 +0200)
 - non-maintainer commit, since axs seems to be inactive.

Bug: https://bugs.gentoo.org/712744
Bug: https://bugs.gentoo.org/714160
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild [moved from sci-biology/foldingathome/foldingathome-7.5.1.ebuild with 95% similarity]

similarity index 95%
rename from sci-biology/foldingathome/foldingathome-7.5.1.ebuild
rename to sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
index c70c153803ae6dad6ea57e678b013a45a965a8cb..4b545b5770cff7137589cf0ef3348da60c9b92fa 100644 (file)
@@ -71,7 +71,7 @@ command="${EPREFIX}/opt/foldingathome/FAHClient"
 command_args="\${FOLD_OPTS}"
 command_user=foldingathome
 command_background=1
-pidfile="\${PIDFILE}"
+procname="FAHClient"
 EOF
        newinitd "${T}"/fah-init foldingathome
 
@@ -85,9 +85,9 @@ Type=simple
 User=foldingathome
 WorkingDirectory=${EPREFIX}/opt/foldingathome
 PIDFile=/run/fahclient.pid
-ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v start
-ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart
-ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v
+#ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart
+#ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop
 KillMode=process
 
 [Install]