mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
Update upgrade
This commit is contained in:
parent
c6827ccf6c
commit
02243a6a8b
1 changed files with 10 additions and 1 deletions
|
@ -69,7 +69,16 @@ ynh_system_user_create --username=$app --home_dir=$final_path
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
# ...
|
# CREATE SYNC DIRECTORY
|
||||||
|
#=================================================
|
||||||
|
ynh_print_info "Creating sync directory..."
|
||||||
|
|
||||||
|
# Make directories and set rights
|
||||||
|
mkdir -p "$sync_home"
|
||||||
|
chown -R "$app": "$sync_home"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
config_file="$final_path/.config/syncthing/config.xml"
|
config_file="$final_path/.config/syncthing/config.xml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue