diff --git a/scripts/install b/scripts/install index 762d11a..a5a9dcc 100644 --- a/scripts/install +++ b/scripts/install @@ -119,8 +119,6 @@ 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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 6c35fa6..86475bf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,8 +128,6 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=2 -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" - ynh_add_systemd_config #=================================================