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