mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Maintainer update: Do not assume the user running setiathome has a
Borne-ish shell. Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
This commit is contained in:
parent
c64b3d609f
commit
b61982d0c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78801
2 changed files with 12 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
PORTNAME= setiathome
|
||||
PORTVERSION?= 3.03
|
||||
PORTREVISION?= 6
|
||||
PORTREVISION?= 7
|
||||
CATEGORIES?= astro
|
||||
MASTER_SITES= ftp://ftp.cdrom.com/pub/setiathome/ \
|
||||
ftp://alien.ssl.berkeley.edu/pub/
|
||||
|
|
|
@ -74,17 +74,19 @@ start)
|
|||
fi
|
||||
done
|
||||
for i in ${seti_wrksuff}; do
|
||||
su -fm ${seti_user} -c "\
|
||||
cd ${seti_wrkdir}/${i} || exit; \
|
||||
echo \$\$ > shpid.sah; \
|
||||
trap 'kill \$pid;exit' 15; \
|
||||
while :; do \
|
||||
su -fm ${seti_user} -c "exec /bin/sh -T" << EOF > /dev/null &
|
||||
cd ${seti_wrkdir}/${i} || exit
|
||||
echo \$\$ > shpid.sah
|
||||
trap 'kill \$pid;exit' 15
|
||||
while :; do
|
||||
${program_path} \
|
||||
${seti_std_args} ${seti_proxy_args} \
|
||||
${seti_nice:+-nice} ${seti_nice} & \
|
||||
pid=\$!; wait \$pid; \
|
||||
sleep ${seti_sleep}; \
|
||||
done > /dev/null" &
|
||||
${seti_nice:+-nice} ${seti_nice} &
|
||||
pid=\$!; wait \$pid
|
||||
sleep ${seti_sleep} &
|
||||
pid=\$!; wait \$pid
|
||||
done
|
||||
EOF
|
||||
done
|
||||
echo -n " SETI@home"
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue