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

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLeitwolf112026-09-08 01:35:58 +0300
committerLeitwolf112026-09-08 01:35:58 +0300
commitf081b5aa4e9b9594d64cd3dfaac2d6d7cc481abc (patch)
tree7a6432a08c0e5c500b83ba144aa1bc6be282de05
parentc0cd5f4699e44899956c19176ca47ede27a21a8f (diff)
downloadwebsite-f081b5aa4e9b9594d64cd3dfaac2d6d7cc481abc.tar.gz
Make Visual X# web API activation SELinux-stable
Invoke the framework-dependent registry status API through the installed dotnet runtime so copied immutable releases do not depend on apphost inode execution metadata surviving the SELinux staging boundary.
-rw-r--r--ops/systemd/xsharp-web-api.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/ops/systemd/xsharp-web-api.service b/ops/systemd/xsharp-web-api.service
index e6138fc..652ed0b 100644
--- a/ops/systemd/xsharp-web-api.service
+++ b/ops/systemd/xsharp-web-api.service
@@ -11,7 +11,9 @@ Type=simple
User=xsharp_web
Group=xsharp_web
WorkingDirectory=/srv/xsharp/website/current/backend
-ExecStart=/usr/bin/env /srv/xsharp/website/current/backend/XSharp.Web.Api
+# 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