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
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user