Fixed bad reference path and added a note to lxc-bootstrap about weird lxc caching issue

This commit is contained in:
Duncan Sommerville 2015-01-08 14:06:28 -05:00
parent e568013db6
commit d81934e44c
2 changed files with 6 additions and 1 deletions

View File

@ -373,7 +373,7 @@ ln -sf /usr/bin/liquidsoap /usr/bin/airtime-liquidsoap
verbose "...Done"
sed "s@WEB_USER@${web_user}@g;s@WEB_ROOT@${web_root}@g" ${SCRIPT_DIR}/lib/airtime-session-init.conf > /etc/init/airtime-session-init.conf
chmod 644 /etc/init/airtime/*
chmod 644 /usr/share/upstart/sessions/airtime*
initctl reload-configuration
service airtime-session-init start

View File

@ -21,6 +21,11 @@ lxc-destroy -n airtime-install
echo "...Done"
set -e
###
# ! NOTE: If you run into errors resolving the archives when running apt-get update,
# clear your /var/cache/lxc directory and retry.
###
echo -e "\n * Creating ${name} with dist ${dist} and release ${release}..."
lxc-create -t ${dist} -n ${name} -- --release ${release}
echo "...Done"