Commit f8807b63 authored by Grace's avatar Grace

Added (in docs) all-in-one install script for Aegir with Nginx on Debian Lenny...

Added (in docs) all-in-one install script for Aegir with Nginx on Debian Lenny minimal OS vanilla install (fix).
parent 6ba71754
......@@ -198,12 +198,16 @@ cp -af /var/xdrago/etc /opt/
cp -f /opt/etc/init.d/* /etc/init.d/
cp -af /var/xdrago/cron/crontabs/root /var/spool/cron/crontabs/
perl -p -i -e "s/(>127.0.0.1<)/\>127.0.0.1,$SERVERIP\</g" /opt/etc/php-fpm.conf
perl -p -i -e "s/(root)/$ADMEMAIL/g" /etc/apticron/apticron.conf
echo $ADMEMAIL > /tmp/.email.txt
perl -p -i -e "s/(\@)/\\\@/g" /tmp/.email.txt
APTEMAILA=`cat /tmp/.email.txt`
APTEMAIL=`echo -n $APTEMAILA | tr -d "\n"`
perl -p -i -e "s/(root)/$APTEMAIL/g" /etc/apticron/apticron.conf
rm -f /tmp/.email.txt
sh /usr/sbin/apticron &&
###--------------------###
msg "`date` INFO: Do we need a SMTP relay?"
echo "..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment