Username: Password:

Author Topic: Debian Start Stop Script  (Read 11005 times)

Offline yoshilee

  • Rookie
  • *
  • Posts: 42
    • View Profile
Debian Start Stop Script
« on: November 25, 2017, 02:55:35 PM »
Hello guys,

actual i am trying some GB stuff on debian linux (not into this really) and looking for some help on writing some simple scripts for start, stop or restart of process.

I have GB in folders as follows for several instances/configurations on test purpose:

/usr/Gunbot/GB1
/usr/Gunbot/GB2

also having a folder

/usr/script

here should be all my scripts for use by console window like:

start-GB1 (pointing to gunthy-linx64 in GB1)
restart-GB1
stop-GB1
 
When i understood right, the start via script allows you to close the console window without killing the process itself.
So actual i try to figure out how such scripts needs to be written, but any help is really appreciated :)

Thanks