Initial public release
This commit is contained in:
17
scripts/hydra.service
Normal file
17
scripts/hydra.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=HYDRA Trading System
|
||||
After=docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
WorkingDirectory=/opt/hydra
|
||||
ExecStart=/usr/bin/docker compose -f docker-compose.lite.yml up
|
||||
ExecStop=/usr/bin/docker compose -f docker-compose.lite.yml down
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user