Fixed bad reference path and added a note to lxc-bootstrap about weird lxc caching issue
This commit is contained in:
parent
e568013db6
commit
d81934e44c
|
@ -373,7 +373,7 @@ ln -sf /usr/bin/liquidsoap /usr/bin/airtime-liquidsoap
|
||||||
verbose "...Done"
|
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
|
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
|
initctl reload-configuration
|
||||||
service airtime-session-init start
|
service airtime-session-init start
|
||||||
|
|
|
@ -21,6 +21,11 @@ lxc-destroy -n airtime-install
|
||||||
echo "...Done"
|
echo "...Done"
|
||||||
set -e
|
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}..."
|
echo -e "\n * Creating ${name} with dist ${dist} and release ${release}..."
|
||||||
lxc-create -t ${dist} -n ${name} -- --release ${release}
|
lxc-create -t ${dist} -n ${name} -- --release ${release}
|
||||||
echo "...Done"
|
echo "...Done"
|
||||||
|
|
Loading…
Reference in New Issue