mirror of
https://github.com/simon987/task_tracker_drone.git
synced 2025-04-10 14:06:46 +00:00
10 lines
232 B
Bash
Executable File
10 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export DRONEROOT="task_tracker_drone"
|
|
|
|
screen -S tt_drone -X quit
|
|
echo "starting drone"
|
|
screen -S tt_drone -d -m bash -c "cd ${DRONEROOT} && source env/bin/activate && python src/tt_drone/drone.py"
|
|
sleep 1
|
|
screen -list
|