Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 847 Bytes

HostingYourOwnAlcatraz.md

File metadata and controls

31 lines (26 loc) · 847 Bytes
  1. Install dotnet-sdk-5.0 on your Dev machine
  2. Run publish_linux_gameservices.bat
  3. Install aspnetcore-runtime-5.0 on server
  4. Copy AlcatrazGameServices\bin\release\net5.0\ubuntu.18.04-x64\publish to your server
  5. Configure your appsettings.json
  6. Create service:

sudo nano /etc/systemd/system/kestrel-alcatraz.service

[Unit]
Description=Alcatraz Rendez-Vous server

[Service]
WorkingDirectory=/home/deployer/publish
ExecStart=/home/deployer/publish/AlcatrazGameServices
Restart=always
RestartSec=10
SyslogIdentifier=alcatraz-rdv
User=root
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=ASPNETCORE_URLS="http://0.0.0.0:80"

[Install]
WantedBy=multi-user.target
  1. Start service sudo systemctl enable kestrel-alcatraz.service sudo systemctl start kestrel-alcatraz.service sudo journalctl -u kestrel-alcatraz.service