Closed ken4ward closed 4 years ago
Same to me.. i do want to have basic settings and instructions ... tnx
noob Blaz :)
On Sat, Dec 28, 2019 at 4:37 AM Kehinde Adeoya notifications@github.com wrote:
How do I run this application on Ubuntu-18.04 as a service? Please, kindly help with specific steps/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BitMEX/sample-market-maker/issues/208?email_source=notifications&email_token=AN4FW26MNZVWUUMIZICQ3YLQ23CYZA5CNFSM4KAGFCO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC6LY3A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN4FW22VOOURDTQL2JSGTJTQ23CYZANCNFSM4KAGFCOQ .
Sorry, these Issues are for bugs in the project, not general support. However, you might get some relief looking around on support forums like askubuntu.com. For instance: https://askubuntu.com/questions/905749/running-python-script-as-a-service-and-start-on-system-start-up
@ken4ward @BKlun Here's a service unit config file a wrote a while back. Hopefully it comes in handy for you or anyone else who comes across this.
filename: bitmexBot.service directory: /etc/systemd/system
[Unit] Description=Bitmex Bot Trader After=network.target
[Service] Type=simple WorkingDirectory=/usr/local/bin/bitmexBot ExecStart=/usr/local/bin/bitmexBot/startpy User=bitcoin Group=bitcoin TimeoutSec=60 Restart=always RestartSec=60
[Install] WantedBy=multi-user.target
How do I run this application on Ubuntu-18.04 as a service? Please, kindly help with specific steps/