mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix remove link to log files
This commit is contained in:
parent
e84fe12188
commit
b094da4899
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue