sci-biology/foldingathome: revert init fix
authorJoonas Niilola <juippis@gentoo.org>
Fri, 27 Mar 2020 16:22:40 +0000 (18:22 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Fri, 27 Mar 2020 16:24:59 +0000 (18:24 +0200)
 - apparently it broke for some users, needs more testing and
   feedback.

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

similarity index 98%
rename from sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
rename to sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
index 4b545b5770cff7137589cf0ef3348da60c9b92fa..502ff39266a971f0d8261de0cbe7344e0e0d5dee 100644 (file)
@@ -63,7 +63,7 @@ src_install() {
        newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
        cat <<EOF >"${T}"/fah-init
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 start_stop_daemon_args="--chdir \"${EPREFIX}/opt/foldingathome\""
@@ -71,7 +71,7 @@ command="${EPREFIX}/opt/foldingathome/FAHClient"
 command_args="\${FOLD_OPTS}"
 command_user=foldingathome
 command_background=1
-procname="FAHClient"
+pidfile="\${PIDFILE}"
 EOF
        newinitd "${T}"/fah-init foldingathome