diff options
Diffstat (limited to 'sci-biology/foldingathome/files')
-rw-r--r-- | sci-biology/foldingathome/files/7.3/fah-init | 5 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/7.3/folding-conf.d | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sci-biology/foldingathome/files/7.3/fah-init b/sci-biology/foldingathome/files/7.3/fah-init index 5de4bb783fc5..1c1a232fb697 100644 --- a/sci-biology/foldingathome/files/7.3/fah-init +++ b/sci-biology/foldingathome/files/7.3/fah-init @@ -22,6 +22,9 @@ start() { stop() { ebegin "Stopping Folding@Home" start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}" + if [ $? -ne 0 ]; then + killall --user foldingathome --signal SIGKILL + ewarn "killing all processes running as user 'foldingathome' ..." + fi eend $? - killall --user foldingathome --signal SIGKILL } diff --git a/sci-biology/foldingathome/files/7.3/folding-conf.d b/sci-biology/foldingathome/files/7.3/folding-conf.d index 00be13b4c91f..b4e0448226a6 100644 --- a/sci-biology/foldingathome/files/7.3/folding-conf.d +++ b/sci-biology/foldingathome/files/7.3/folding-conf.d @@ -7,4 +7,4 @@ # by running /opt/foldingathome/FAHClient --help # FOLD_OPTS="" -PIDFILE=/var/run/folding +PIDFILE=/run/folding |