run-script-in-background / start_server.sh
nateraw's picture
Update start_server.sh
97cef1c
raw history blame
No virus
196 Bytes
#!/bin/bash
# Start the python script in the background asynchronously
nohup python your_script.py &
export USER_SCRIPT_PID=$!
# Start a simple web server on port 5000
python status_checker.py