mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Fix upgrade error not affecting port to systemd
This commit is contained in:
parent
8fa0da9e39
commit
43c1983ffa
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ ynh_use_logrotate --non-append
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_replace_string "__NODEJS_PATH__" "$nodejs_path" "../conf/systemd.service"
|
ynh_replace_string "__NODEJS_PATH__" "$nodejs_path" "../conf/systemd.service"
|
||||||
|
ynh_replace_string "__PORT__" "$port" "../conf/systemd.service"
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
systemctl start $app
|
systemctl start $app
|
||||||
|
|
Loading…
Reference in a new issue