HUMAN: server start scripts
This commit is contained in:
parent
528beb7653
commit
f43935bf54
4
start_server.sh
Executable file
4
start_server.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /home/ben/opencode-desktop/ia_bot
|
||||
source venv/bin/activate
|
||||
nohup python main.py &
|
||||
3
stop_server.sh
Executable file
3
stop_server.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
ps faux | awk '!/awk/&&/python main.py/{system("kill "$2)}'
|
||||
Loading…
x
Reference in New Issue
Block a user