From c693ca36083594b58543e033eec7b7c10838b1eb Mon Sep 17 00:00:00 2001 From: Kristian Skov Date: Thu, 16 Jan 2025 14:11:27 +0100 Subject: [PATCH] Update dotnetaspwebapi-install.sh Changed the service name to a static one --- install/dotnetaspwebapi-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/dotnetaspwebapi-install.sh b/install/dotnetaspwebapi-install.sh index 77cb7644..1aeee7aa 100644 --- a/install/dotnetaspwebapi-install.sh +++ b/install/dotnetaspwebapi-install.sh @@ -79,7 +79,7 @@ systemctl reload nginx msg_ok "Nginx Server Created" msg_info "Creating Service" -cat </etc/systemd/system/kestrel-$var_project_name.service +cat </etc/systemd/system/kestrel-aspnetapi.service [Unit] Description=.NET Web API App running on Linux @@ -98,7 +98,7 @@ Environment=DOTNET_NOLOGO=true [Install] WantedBy=multi-user.target EOF -systemctl enable -q --now kestrel-$var_project_name.service +systemctl enable -q --now kestrel-aspnetapi.service msg_ok "Created Service" motd_ssh