[Unit] Description=Dotnet interface for DumbYT After=network-online.target Wants=network-online.target systemd-networkd-wait-online.service [Service] WorkingDirectory=/var/www/BackEnd/bin/Release/netcoreapp2.0/ ExecStart=/usr/bin/dotnet /var/www/BackEnd/bin/Release/netcoreapp2.0/YTManager.dll ; Restart configuration Restart=always ; How this shows up in logs SyslogIdentifier=dumbyt_dotnet ; User and Cgroup the process will run as. User=hak8or Group=hak8or Environment=ASPNETCORE_ENVIRONMENT=Production Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false Environment=ASPNETCORE_URLS="http://*:62214" Environment=POSTGRESQL_DBSTR="Server=10.10.10.200;Port=32768;Database=DumbYT;User Id=DumbYT;Password=DumbYT;" [Install] WantedBy=multi-user.target