1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radicale_ynh.git synced 2024-09-03 20:16:14 +02:00
radicale_ynh/scripts/upgrade
2014-01-06 09:38:16 +01:00

12 lines
314 B
Bash

#!/bin/bash
# Fix permission
sudo chmod 755 /etc/radicale/
sudo find /usr/local/radicale/ -type d -exec chmod 2755 {} \;
sudo find /usr/local/radicale/ -type f -exec chmod g+r,o+r {} \;
sudo chmod 644 /etc/radicale/*
sudo service uwsgi stop
sudo killall uwsgi
sudo service uwsgi start
sudo service nginx reload