Remove comments from mks.service to fix break
All checks were successful
Build .NET Project / build (push) Successful in 4m44s
All checks were successful
Build .NET Project / build (push) Successful in 4m44s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user