diff --git a/scripts/install b/scripts/install index a5a9dcc..762d11a 100644 --- a/scripts/install +++ b/scripts/install @@ -119,6 +119,8 @@ ynh_add_config --template="../conf/config.default.json" --destination="$final_pa #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 +ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" + ynh_add_systemd_config #=================================================