Update the readme

This commit is contained in:
2025-07-17 20:19:01 -04:00
parent f186fbca2c
commit 53052fcf76

View File

@@ -66,6 +66,34 @@ There are four models in total CM20191031.TXT, MG20180131.TXT, MGSH20250331.TXT,
When running on Windows first copy all of the model files from SafeRun folder to both the Debug folder and also the Session
folder. Commit any changes to GIT.
# Installing MarketDataService service
1) change into the following folder /etc/systemd/system
2) create the mks.service file sudo nano mks.service
3) Place the following into the file
[Unit]
Description=Market Data Server Service
After=network-online.target
Wants=network-online.target
[Service]
User=pi # Or the user your executable runs as
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
Environment=DOTNET_ROOT=/opt/dotnet
StandardOutput=null
[Install]
WantedBy=multi-user.target
4) Enable the service
Enable the service: sudo systemctl enable mks.service.
Start the service: sudo systemctl start mks.service.
Check the status: sudo systemctl status mks.service
Disable the service: sudo systemctl disable mks.service
# ARM64 Version of MarketData Feeds designed to run on Raspbian system on a PI 5 16G RAM, 256Gig U30 SD Card.
@@ -89,34 +117,7 @@ git fetch --prune
3) IPMonitor
4) Models
MarketDataService
/etc/systemd/system
sudo nano mks.service
Place the following into the file
[Unit]
Description=Market Data Server Service
After=network-online.target
Wants=network-online.target
[Service]
User=pi # Or the user your executable runs as
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
Environment=DOTNET_ROOT=/opt/dotnet
StandardOutput=null
[Install]
WantedBy=multi-user.target
Enable the service: sudo systemctl enable mks.service.
Start the service: sudo systemctl start mks.service.
Check the status: sudo systemctl status mks.service
******************************************************************************************************
Adding notes on MariaDb as I plan to migrate the MySql over to one of the Raspberry PI 4 B's