|
|
@ -39,8 +39,8 @@ msg_ok "Installed ASP.NET Core 7 SDK" |
|
|
|
msg_info "Installing ${APPLICATION}" |
|
|
|
msg_info "Installing ${APPLICATION}" |
|
|
|
git clone -q https://github.com/revenz/Fenrus.git /opt/${APPLICATION} |
|
|
|
git clone -q https://github.com/revenz/Fenrus.git /opt/${APPLICATION} |
|
|
|
cd /opt/${APPLICATION} |
|
|
|
cd /opt/${APPLICATION} |
|
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1 |
|
|
|
#export DOTNET_CLI_TELEMETRY_OPTOUT=1 |
|
|
|
dotnet publish -c Release -o "/opt/${APPLICATION}/" Fenrus.csproj |
|
|
|
$STD dotnet publish -c Release -o "/opt/${APPLICATION}/" Fenrus.csproj |
|
|
|
msg_ok "Installed ${APPLICATION}" |
|
|
|
msg_ok "Installed ${APPLICATION}" |
|
|
|
|
|
|
|
|
|
|
|
msg_info "Creating Service" |
|
|
|
msg_info "Creating Service" |
|
|
@ -66,4 +66,4 @@ customize |
|
|
|
msg_info "Cleaning up" |
|
|
|
msg_info "Cleaning up" |
|
|
|
$STD apt-get -y autoremove |
|
|
|
$STD apt-get -y autoremove |
|
|
|
$STD apt-get -y autoclean |
|
|
|
$STD apt-get -y autoclean |
|
|
|
msg_ok "Cleaned" |
|
|
|
msg_ok "Cleaned" |
|
|
|