added script for starting and stopping the service
This commit is contained in:
parent
dca4ab683a
commit
fb632f0646
1
killservice.sh
Executable file
1
killservice.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
sudo pkill -f "streamlit run main.py"
|
||||
7
runscript.sh
Executable file
7
runscript.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
streamlit run main.py --server.port 8503 --server.address 0.0.0.0
|
||||
1
startStremlitWebCameraAppInBAckgroud.sh
Executable file
1
startStremlitWebCameraAppInBAckgroud.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
nohup ./runscript.sh > streamlit.log 2>&1 &
|
||||
Loading…
Reference in a new issue