diff options
author | 2010-11-08 04:25:20 +0000 | |
---|---|---|
committer | 2010-11-08 04:25:20 +0000 | |
commit | a4a90b26b609046f3ecf5ae20b30bec7e35eb169 (patch) | |
tree | bba80122dcb27022c9bfc4db7e565490b8e1abef | |
parent | Fix to use distdir (diff) | |
download | je_fro-a4a90b26b609046f3ecf5ae20b30bec7e35eb169.tar.gz je_fro-a4a90b26b609046f3ecf5ae20b30bec7e35eb169.tar.bz2 je_fro-a4a90b26b609046f3ecf5ae20b30bec7e35eb169.zip |
fix init script to stop properly
svn path=/; revision=302
-rw-r--r-- | sci-biology/foldingathome/files/999/fah-init | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sci-biology/foldingathome/files/999/fah-init b/sci-biology/foldingathome/files/999/fah-init index 6f55454..458fc7b 100644 --- a/sci-biology/foldingathome/files/999/fah-init +++ b/sci-biology/foldingathome/files/999/fah-init @@ -5,6 +5,13 @@ opts="${opts} unitinfo" +depend() { + + after bootmisc + need localmount + need net +} + unitinfo() { einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):" sed -e '1,2d' /opt/foldingathome/unitinfo.txt @@ -23,5 +30,4 @@ stop() { ebegin "Stopping Folding@Home" start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}" eend $? - [[ -f ${PIDFILE} ]] && killall --user foldingathome --signal SIGKILL } |