From 7b3acfc9b28b6ed33a1590ae16261d7dd3b5b06a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 14 Jan 2021 23:07:40 +0100 Subject: [PATCH] Stupid lack of templating system in 2021 --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index d830e5f..f989586 100644 --- a/scripts/install +++ b/scripts/install @@ -143,6 +143,8 @@ ynh_add_systemd_config # CHANGE PORT IN YUNORUNNER #================================================= +ynh_replace_string "__DOMAIN__" "$domain" "/etc/systemd/system/$app.service" +ynh_replace_string "__PATH__" "$path_url" "/etc/systemd/system/$app.service" ynh_replace_string "__PORT__" "$port" "/etc/systemd/system/$app.service" # Calculate and store the config file checksum into the app settings ynh_store_file_checksum "/etc/systemd/system/$app.service"