mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Switch data folder
This commit is contained in:
parent
a7b5a5e8f1
commit
d2e3ade4b2
1 changed files with 5 additions and 1 deletions
|
@ -10,9 +10,13 @@ db_pwd=$(sudo yunohost app setting kanboard mysqlpwd)
|
|||
# Use 'kanboard' as database name and user
|
||||
db_user=kanboard
|
||||
|
||||
|
||||
final_path=/var/www/kanboard
|
||||
mv $final_path $final_path.old
|
||||
|
||||
sudo mkdir -p $final_path
|
||||
sudo cp -a ../sources/* $final_path
|
||||
sudo cp -a $final_path.old/data $final_path/data
|
||||
rm -Rf $final_path.old
|
||||
|
||||
# Copy and edit config.php
|
||||
sudo cp ../conf/config.php $final_path
|
||||
|
|
Loading…
Add table
Reference in a new issue