Username: Password:

Author Topic: Is there Linux command line to start/stop gunbot?  (Read 7251 times)

Offline nlonguit

  • Rookie
  • *
  • Posts: 2
    • View Profile
Is there Linux command line to start/stop gunbot?
« on: May 10, 2018, 08:18:33 AM »
I am a Linux user and i want to start/stop gunbot by using command line. But not sure if there's existing one?  :-\

Offline ruphus

  • Rookie
  • *
  • Posts: 68
    • View Profile
Re: Is there Linux command line to start/stop gunbot?
« Reply #1 on: May 10, 2018, 05:11:23 PM »
start:
./path/to/gunbot/folder/gunthy-linx64

stop;
killall gunthy

Offline @g@t@

  • Rookie
  • *
  • Posts: 15
    • View Profile
Re: Is there Linux command line to start/stop gunbot?
« Reply #2 on: May 11, 2018, 07:46:23 PM »
start:
./path/to/gunbot/folder/gunthy-linx64

stop;
killall gunthy

as one method which certainly works!

Also if you want to continue using the same terminal and run other instance for example from same terminal you can do it like that:

./path/to/gunbot/folder/gunthy-linx64 &

this will give a job ID which then later you can kill with %

"kill %jobid"

please remember that proper config.js is formed in a bot's main setup directory after a first run of gui is performed and configured! Which then later you need to copy it with linx64 and bd file to bot's main dir if you are willing to perform a migration to the same version. If you will run a linx64 right from the start you'll end up with it using the "dummy" config.js which is just a showcase. You can later then kill a gui (this will not stop the bot) and restart it when you need it as I noticed that GUI eats some ram in a long run :)

//Let the joy be with you!