1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update upgrade

This commit is contained in:
DDATAA 2023-03-17 09:58:27 +00:00 committed by GitHub
parent b55eb751d8
commit 9de2a1dbac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,11 +89,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
ynh_add_nginx_config
env_path="$PATH"
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="Zero Knowledge realtime collaborative editor" --log="/var/log/$app/$app.log"
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
@ -114,6 +109,14 @@ pushd "$install_dir"
ynh_exec_warn_less npm run build
popd
#=================================================
# CREATE SYSTEMD SERVICE
#=================================================
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="Zero Knowledge realtime collaborative editor" --log="/var/log/$app/$app.log"
#=================================================
# ADD UPGRADED CONFIG WITH SANDBOX
#=================================================