Compare commits
2 commits
5e618cd058
...
90361ddc5f
Author | SHA1 | Date | |
---|---|---|---|
90361ddc5f | |||
b06d3494b1 |
3 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
# NodeJS version
|
||||
nodejs_version=18
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
|
|
@ -14,6 +14,8 @@ ynh_script_progression --message="Removing system configurations related to $app
|
|||
|
||||
ynh_remove_nginx_config
|
||||
|
||||
ynh_remove_nodejs
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
|
@ -23,6 +23,8 @@ chown -R "$app:www-data" "$install_dir"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
|
||||
|
||||
ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue