1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cjdns_ynh.git synced 2024-09-03 18:16:29 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-05-16 10:41:39 +02:00
parent 1af7a06fc1
commit 66caf1fca1

View file

@ -21,7 +21,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
ynh_script_progression --message="Updating $app's configuration files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
@ -30,9 +30,9 @@ chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/cjdroute" chmod +x "$install_dir/cjdroute"
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Integrating cjdns service in YunoHost..." ynh_script_progression --message="Updating $app's configuration files..." --weight=1
yunohost service add $app --description="Encrypted IPv6 network" --log="/var/log/$app/$app.log" yunohost service add $app --description="Encrypted IPv6 network" --log="/var/log/$app/$app.log"