1
0
Fork 0
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:
yalh76 2019-02-01 10:01:51 +01:00
parent 8fa0da9e39
commit 43c1983ffa

View file

@ -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