Fix remove link to log files

This commit is contained in:
Josué Tille 2017-12-10 11:29:36 +01:00
parent e84fe12188
commit b094da4899
2 changed files with 2 additions and 2 deletions

View file

@ -158,7 +158,7 @@ fi
# Add logrotate
ynh_use_logrotate $final_path/logs
ln -s $final_path/logs /var/log/seafile-server
ln -s $final_path/logs /var/log/seafile
# register yunohost service
yunohost service add seafile-server

View file

@ -20,12 +20,12 @@ systemctl stop seafile-server.service
# remove sso config to unprotect domain.tld/seafhttp in /etc/ssowat/conf.json.persistent
test -e /var/www/$app/remove_sso_conf.py && python /var/www/$app/remove_sso_conf.py
test -e /opt/yunohost/$app/remove_sso_conf.py && python /opt/yunohost/$app/remove_sso_conf.py
ynh_secure_remove /var/log/seafile
ynh_secure_remove /var/www/$app
ynh_secure_remove /opt/yunohost/$app
ynh_secure_remove /etc/init.d/seafile-server
ynh_secure_remove /home/yunohost.app/seafile-data
ynh_secure_remove /tmp/seahub_cache
ynh_secure_remove /var/log/seafile-server
# Remove databases
ynh_mysql_drop_db ccnetdb