Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/ops/systemd
diff options
context:
space:
mode:
authorLeitwolf112026-09-26 00:30:28 +0300
committerLeitwolf112026-09-26 00:30:28 +0300
commitfdc9a91dec3433ebc3eae480cf6b57153d0972fb (patch)
tree08ea31b8c2a3226e72345bf07425272af654b119 /ops/systemd
parentc8da019dbb42a6e0928960acbc2fa160818b9368 (diff)
downloadwebsite-fdc9a91dec3433ebc3eae480cf6b57153d0972fb.tar.gz
Rebuild Visual XSharp language website with Vue and Kotlin Spring; add leopard identity, bilingual docs, forum placeholder, site-only API, strict CSP, 21 frontend tests, deployment runbooks, and preserve legacy ViGet redirect during maintenance
Diffstat (limited to 'ops/systemd')
-rw-r--r--ops/systemd/xsharp-web-api.service11
1 files changed, 3 insertions, 8 deletions
diff --git a/ops/systemd/xsharp-web-api.service b/ops/systemd/xsharp-web-api.service
index 652ed0b..599c530 100644
--- a/ops/systemd/xsharp-web-api.service
+++ b/ops/systemd/xsharp-web-api.service
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
[Unit]
-Description=Visual X# website and registry API
+Description=Visual X# language website API (Kotlin/JVM 25)
After=network-online.target
Wants=network-online.target
@@ -11,13 +11,8 @@ Type=simple
User=xsharp_web
Group=xsharp_web
WorkingDirectory=/srv/xsharp/website/current/backend
-# Run the framework-dependent deployment through the installed runtime. This
-# remains stable when release files cross an SELinux-labelled staging boundary.
-ExecStart=/usr/bin/dotnet /srv/xsharp/website/current/backend/XSharp.Web.Api.dll
-EnvironmentFile=/etc/xsharp/web-api.env
-Environment=ASPNETCORE_URLS=http://127.0.0.1:5080
-Environment=ASPNETCORE_ENVIRONMENT=Production
-Environment=DOTNET_EnableDiagnostics=0
+ExecStart=/usr/bin/java -XX:MaxRAMPercentage=35 -jar /srv/xsharp/website/current/backend/visual-xsharp-website-api-1.0.0.jar
+Environment=PORT=5080
Restart=on-failure
RestartSec=3s
TimeoutStopSec=15s