[Unit] Description=ClassNotify Cloud SignalR Server After=network-online.target postgresql.service Wants=network-online.target [Service] WorkingDirectory=/var/www/classnotify/current ExecStart=/usr/bin/dotnet /var/www/classnotify/current/ClassNotify.Server.dll User=www-data Group=www-data Environment=ASPNETCORE_ENVIRONMENT=Production Environment=ASPNETCORE_URLS=http://127.0.0.1:5000 Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false EnvironmentFile=/etc/classnotify/classnotify.env Restart=always RestartSec=10 KillSignal=SIGINT [Install] WantedBy=multi-user.target