[Unit] Description=Final Factory Rendezvous service Documentation=https://git.finalfactory.de/HeiKyu/Rendezvous After=network-online.target time-sync.target Wants=network-online.target time-sync.target [Service] Type=simple User=rendezvous Group=rendezvous WorkingDirectory=/opt/rendezvous ExecStart=/usr/bin/dotnet /opt/rendezvous/FinalFactory.Rendezvous.Server.dll Environment=ASPNETCORE_ENVIRONMENT=Production Environment=ASPNETCORE_HTTP_PORTS=8080 Environment=DOTNET_EnableDiagnostics=0 EnvironmentFile=-/etc/rendezvous/rendezvous.env Restart=on-failure RestartSec=5s KillSignal=SIGTERM KillMode=mixed TimeoutStopSec=40s NoNewPrivileges=true PrivateDevices=true PrivateTmp=true ProtectClock=true ProtectControlGroups=true ProtectHome=true ProtectHostname=true ProtectKernelLogs=true ProtectKernelModules=true ProtectKernelTunables=true ProtectSystem=strict RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 RestrictNamespaces=true RestrictRealtime=true RestrictSUIDSGID=true CapabilityBoundingSet= AmbientCapabilities= LockPersonality=true SystemCallArchitectures=native UMask=0077 LimitNOFILE=4096 CPUQuota=200% MemoryMax=2G TasksMax=128 [Install] WantedBy=multi-user.target