mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
Update install
This commit is contained in:
parent
e383077725
commit
e1cf5bbfdd
1 changed files with 4 additions and 4 deletions
|
@ -15,8 +15,8 @@ fi
|
||||||
sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python
|
sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python
|
||||||
|
|
||||||
# Init virtualenv
|
# Init virtualenv
|
||||||
sudo virtualenv /usr/local/radicale
|
sudo virtualenv /opt/yunohost/radicale
|
||||||
sudo bash -c "source /usr/local/radicale/bin/activate && pip install radicale python-ldap"
|
sudo bash -c "source /opt/yunohost/radicale/bin/activate && pip install radicale python-ldap"
|
||||||
|
|
||||||
#Configuration Radicale
|
#Configuration Radicale
|
||||||
if [ ! -d /etc/radicale ];
|
if [ ! -d /etc/radicale ];
|
||||||
|
@ -48,8 +48,8 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/radicale.conf
|
||||||
|
|
||||||
# Fix permission
|
# Fix permission
|
||||||
sudo chmod 755 /etc/radicale/
|
sudo chmod 755 /etc/radicale/
|
||||||
sudo find /usr/local/radicale/ -type d -exec chmod 2755 {} \;
|
sudo find /opt/yunohost/radicale/ -type d -exec chmod 2755 {} \;
|
||||||
sudo find /usr/local/radicale/ -type f -exec chmod g+r,o+r {} \;
|
sudo find /opt/yunohost/radicale/ -type f -exec chmod g+r,o+r {} \;
|
||||||
sudo chmod 644 /etc/radicale/*
|
sudo chmod 644 /etc/radicale/*
|
||||||
|
|
||||||
## Reload Nginx and regenerate SSOwat conf
|
## Reload Nginx and regenerate SSOwat conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue