diff --git a/scripts/install b/scripts/install index f1eabab..464257e 100644 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,8 @@ ynh_store_file_checksum --file="$config_path/navidrome.toml" #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -ynh_add_systemd_config --others_var="$config_path" +ynh_replace_string --match_string="__CONFIG_PATH__" --replace_string="$config_path" --target_file="../conf/systemd.service" +ynh_add_systemd_config #================================================= # GENERIC FINALIZATION