mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 08:49: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_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/kestrel-$var_project_name.service
|
||||
cat <<EOF >/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
|
||||
|
Loading…
Reference in New Issue
Block a user