Commit 36ee31ba authored by Vitaly Lipatov's avatar Vitaly Lipatov

createbytask: use ACONF instead AUSER (was incorrect)

parent 9a746cb6
......@@ -122,8 +122,8 @@ if [ -n "$VEIDORIG" ] ; then
cat /var/lib/vz/root/$VEIDORIG/etc/httpd2/conf/sites-enabled/$ACONF.conf > apache/$ACONF.conf
fi
[ -s apache/$AUSER.conf ] || fatal "Empty apache/$AUSER.conf"
cat apache/$AUSER.conf | st tee /tmp/$AUSER.conf >/dev/null
[ -s apache/$ACONF.conf ] || fatal "Empty apache/$ACONF.conf"
cat apache/$ACONF.conf | st tee /tmp/$ACONF.conf >/dev/null
hostserver cat /var/lib/vz/root/$VEIDORIG/etc/httpd2/conf/include/prepend.php | st tee /tmp/prepend.php >/dev/null
st test -s /tmp/prepend.php || fatal "Empty prepend.php"
......
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