mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 16:59:17 +00:00
Update dotnetaspwebapi-install.sh
Changed the service name to a static one
This commit is contained in:
parent
5423247af6
commit
c693ca3608
@ -79,7 +79,7 @@ systemctl reload nginx
|
|||||||
msg_ok "Nginx Server Created"
|
msg_ok "Nginx Server Created"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/kestrel-$var_project_name.service
|
cat <<EOF >/etc/systemd/system/kestrel-aspnetapi.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=.NET Web API App running on Linux
|
Description=.NET Web API App running on Linux
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ Environment=DOTNET_NOLOGO=true
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl enable -q --now kestrel-$var_project_name.service
|
systemctl enable -q --now kestrel-aspnetapi.service
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user