Files
APT-Package/alumnihub_10.0_amd64/etc/systemd/system/alumnihub.service
KoCoder 2aca99e12f
All checks were successful
build-debian-package / Build the debian package (push) Successful in 3m8s
Fix alumnihub service: use correct oqtane installation path
2026-01-15 08:36:43 +01:00

20 lines
567 B
Desktop File

[Unit]
Description=Alumnihub Webservice
[Service]
WorkingDirectory=/opt/oqtane
ExecStart=/usr/bin/dotnet /opt/alumnihub/Oqtane.Server.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=5
KillSignal=SIGINT
SyslogIdentifier=alumnihub
User=oqtane
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=ASPNETCORE_URLS="http://127.0.0.1:5000"
Environment=ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
Environment=ASPNETCORE_FORWARDEDHEADERS_PROXIES=127.0.0.1
Environment=DOTNET_NOLOGO=true
[Install]
WantedBy=multi-user.target