autoport hourly cron: fix to use new log file naming
This commit is contained in:
parent
7f92f0fd95
commit
25cc256ba5
@ -75,7 +75,7 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
|
|||||||
ln -s /bin/true /var/autoport/$a/sbin/service
|
ln -s /bin/true /var/autoport/$a/sbin/service
|
||||||
$CMD_PREFIX /usr/sbin/chroot /var/autoport/$a su -l ${AUTOPORT_CHROOT_USER[$i]} -c "autoport -b -r $r" >> $LOGFILE
|
$CMD_PREFIX /usr/sbin/chroot /var/autoport/$a su -l ${AUTOPORT_CHROOT_USER[$i]} -c "autoport -b -r $r" >> $LOGFILE
|
||||||
mv /var/autoport/$a/sbin/service.autoport /var/autoport/$a/sbin/service
|
mv /var/autoport/$a/sbin/service.autoport /var/autoport/$a/sbin/service
|
||||||
cat /var/autoport/$a/home/${AUTOPORT_CHROOT_USER[$i]}/.autoport/${AUTOPORT_ARCH[$i]}/log >> $LOGFILE
|
cat /var/autoport/$a/home/${AUTOPORT_CHROOT_USER[$i]}/.autoport/${AUTOPORT_ARCH[$i]}/${r}.log >> $LOGFILE
|
||||||
done
|
done
|
||||||
#$local_ftp/$r/autoport-$a.log
|
#$local_ftp/$r/autoport-$a.log
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user