diff --git a/README.md b/README.md index c936980..4036e8c 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,12 @@ After=network-online.target Wants=network-online.target [Service] -User=pi # Or the user your executable runs as +User=pi WorkingDirectory=/opt/MarketData/MarketDataServer ExecStart=/opt/MarketData/MarketDataServer/mks Restart=always -RestartSec=5 # Seconds to wait before restarting (optional) -KillMode=process # Ensures the service is killed gracefully +RestartSec=5 +KillMode=process Environment=DOTNET_ROOT=/opt/dotnet StandardOutput=null