HUMAN: server start scripts

This commit is contained in:
Benjamyn 2026-08-27 17:25:06 +10:00
parent 528beb7653
commit f43935bf54
2 changed files with 7 additions and 0 deletions

4
start_server.sh Executable file
View 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
View File

@ -0,0 +1,3 @@
#!/bin/bash
ps faux | awk '!/awk/&&/python main.py/{system("kill "$2)}'