1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00
This commit is contained in:
ericgaspar 2021-09-18 22:24:48 +02:00
parent 91ab2dd53c
commit 2ccc2dd6c4
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 4 deletions

View file

@ -156,7 +156,7 @@ ynh_add_systemd_config
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
yunohost service add $app --description="" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Workflow Automation Tool" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -100,7 +100,7 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
yunohost service add $app --description="" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Workflow Automation Tool" --log="/var/log/$app/$app.log"
#=================================================
# RESTORE SYSTEMD

View file

@ -71,7 +71,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src
pushd $final_path
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH npm install n8n@${n8n_version}
ynh_exec_warn_less env $ynh_node_load_PATH npm install n8n@${n8n_version}
popd
fi
@ -99,6 +99,7 @@ ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
ynh_script_progression --message="Upgrading systemd configuration..." --weight=2
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
# Create a dedicated systemd config
ynh_add_systemd_config
@ -107,7 +108,7 @@ ynh_add_systemd_config
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description="" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Workflow Automation Tool" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE