diff --git a/scripts/install b/scripts/install index 8e4a3a6..d918c90 100644 --- a/scripts/install +++ b/scripts/install @@ -94,6 +94,7 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 +# This can be removed as the variable is dynamically replaced by ynh_add_systemd_config helper ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 96263fe..d38ff88 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,6 +91,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=3 +# This can be removed as the variable is dynamically replaced by ynh_add_systemd_config helper ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" ynh_add_systemd_config