# SPDX-FileCopyrightText: 2026 Progmasoft # SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 [Unit] Description=Tala language website API (ASP.NET Core 10) After=network-online.target Wants=network-online.target [Service] Type=simple User=xsharp_web Group=xsharp_web WorkingDirectory=/srv/xsharp/website/current/site-api ExecStart=/usr/bin/dotnet /srv/xsharp/website/current/site-api/Progmasoft.Tala.Website.Api.dll Environment=PORT=5086 Environment=ASPNETCORE_ENVIRONMENT=Production Environment=DOTNET_CLI_TELEMETRY_OPTOUT=1 Environment=DOTNET_NOLOGO=1 Restart=on-failure RestartSec=3s TimeoutStopSec=15s UMask=0077 AmbientCapabilities= CapabilityBoundingSet= LockPersonality=yes NoNewPrivileges=yes PrivateDevices=yes PrivateTmp=yes ProtectClock=yes ProtectControlGroups=yes ProtectHome=yes ProtectHostname=yes ProtectKernelLogs=yes ProtectKernelModules=yes ProtectKernelTunables=yes ProtectSystem=strict RemoveIPC=yes RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 RestrictNamespaces=yes RestrictRealtime=yes RestrictSUIDSGID=yes SystemCallArchitectures=native [Install] WantedBy=multi-user.target