HUMAN: server start scripts
This commit is contained in:
1 parent
528beb7653
commit
f43935bf54
2 files changed
+7
No files matched your search
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/ben/opencode-desktop/ia_bot
|
||||||
|
source venv/bin/activate
|
||||||
|
nohup python main.py &
|
||||||
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ps faux | awk '!/awk/&&/python main.py/{system("kill "$2)}'
|
||||||
Reference in new issue
Block a user