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
059d3cd977
commit
24e68a58ef
1 changed files with 7 additions and 7 deletions
|
@ -42,19 +42,19 @@ sudo cp ../conf/radicale.wsgi $final_path
|
||||||
# Set permissions to radicale directory
|
# Set permissions to radicale directory
|
||||||
sudo chown -R www-data. $final_path
|
sudo chown -R www-data. $final_path
|
||||||
sudo touch /var/log/radicale
|
sudo touch /var/log/radicale
|
||||||
sudo chgrp /var/log/radicale
|
sudo chgrp www-data /var/log/radicale
|
||||||
sudo chmod g+w /var/log/radicale
|
sudo chmod g+w /var/log/radicale
|
||||||
|
|
||||||
# Copy uwsgi config
|
# Copy uwsgi config
|
||||||
cp ../conf/radicale.ini /etc/uwsgi/apps-available/
|
sudo cp ../conf/radicale.ini /etc/uwsgi/apps-available/
|
||||||
ln -s /etc/uwsgi/apps-available/radicale.ini /etc/uwsgi/apps-enabled/
|
sudo ln -s /etc/uwsgi/apps-available/radicale.ini /etc/uwsgi/apps-enabled/
|
||||||
|
|
||||||
## Modify Nginx configuration file and copy it to Nginx conf directory
|
## Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
sudo sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||||
cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/radicale.conf
|
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/radicale.conf
|
||||||
|
|
||||||
## Reload Nginx and regenerate SSOwat conf
|
## Reload Nginx and regenerate SSOwat conf
|
||||||
service nginx reload
|
sudo service nginx reload
|
||||||
service uwsgi reload
|
sudo service uwsgi reload
|
||||||
yunohost app setting radicale skipped_uris -v "$path"
|
yunohost app setting radicale skipped_uris -v "$path"
|
||||||
yunohost app ssowatconf
|
yunohost app ssowatconf
|
||||||
|
|
Loading…
Reference in a new issue