mirror of
https://github.com/YunoHost-Apps/n8n_ynh.git
synced 2024-09-03 19:55:52 +02:00
Fix
This commit is contained in:
parent
36d700e170
commit
690f8ee51b
3 changed files with 3 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue