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 19:44:48 +02:00
parent 36d700e170
commit 690f8ee51b
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 4 deletions

View file

@ -103,8 +103,7 @@ ynh_script_progression --message="Installing $app..." --weight=2
pushd $final_path
ynh_use_nodejs
#ynh_exec_as $app
ynh_exec_warn_less env $ynh_node_load_PATH npm install n8n -g --unsafe-perm
ynh_exec_warn_less env $ynh_node_load_PATH npm install n8n${n8n_version} --unsafe-perm
popd
chmod 750 "$final_path"

View file

@ -115,7 +115,7 @@ systemctl enable $app.service --quiet
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=8
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd #--line_match=""
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Editor is now accessible via:"
#=================================================
# GENERIC FINALIZATION

View file

@ -113,7 +113,7 @@ yunohost service add $app --description="" --log="/var/log/$app/$app.log"
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=6
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Editor is now accessible via:"
#=================================================
# RELOAD NGINX