Radicale log
This commit is contained in:
parent
d0b52d8118
commit
9e845ae0ec
|
@ -180,6 +180,9 @@ function remove_radicale {
|
||||||
if [ -d /var/www/radicale ]; then
|
if [ -d /var/www/radicale ]; then
|
||||||
rm -rf /var/www/radicale
|
rm -rf /var/www/radicale
|
||||||
fi
|
fi
|
||||||
|
if [ -f touch /var/log/radicale/radicale.log ]; then
|
||||||
|
rm -rf /var/log/radicale
|
||||||
|
fi
|
||||||
|
|
||||||
remove_completion_param install_radicale
|
remove_completion_param install_radicale
|
||||||
sed -i '/radicale/d' $COMPLETION_FILE
|
sed -i '/radicale/d' $COMPLETION_FILE
|
||||||
|
@ -195,6 +198,13 @@ function install_radicale {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /var/log/radicale ]; then
|
||||||
|
mkdir /var/log/radicale
|
||||||
|
fi
|
||||||
|
if [ ! -f /var/log/radicale/radicale.log ]; then
|
||||||
|
touch /var/log/radicale/radicale.log
|
||||||
|
fi
|
||||||
|
|
||||||
apt-get -yq install python-radicale uwsgi uwsgi-plugin-python radicale
|
apt-get -yq install python-radicale uwsgi uwsgi-plugin-python radicale
|
||||||
|
|
||||||
if [ ! -d ${RADICALE_DIRECTORY} ]; then
|
if [ ! -d ${RADICALE_DIRECTORY} ]; then
|
||||||
|
|
Loading…
Reference in New Issue