Remove comments from mks.service to fix break
All checks were successful
Build .NET Project / build (push) Successful in 4m44s

This commit is contained in:
2025-11-19 20:52:55 -05:00
parent 9dfbf8ed92
commit 6bca35a5d4

View File

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