mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Flush sessions before upgrade
This commit is contained in:
parent
aeff47e5d0
commit
039a8de71a
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ admin=$(sudo yunohost app setting $app adminusername)
|
|||
email=$(sudo yunohost user info $admin | grep mail: | sed "s/mail: //g")
|
||||
db_pwd=$(sudo yunohost app setting $app mysqlpwd)
|
||||
|
||||
# flush php sessions before upgrade
|
||||
sudo rm -rf /var/lib/php5/session/*
|
||||
|
||||
final_path=/var/www/$app
|
||||
sudo mv $final_path $final_path.old
|
||||
|
||||
|
|
Loading…
Reference in a new issue