server-rack-led/start.sh

6 lines
180 B
Bash
Raw Normal View History

2021-11-09 14:01:19 +00:00
#!bin/bash
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
2021-11-09 14:03:12 +00:00
screen -m -d rackled
sleep 5
screen -S python -X stuff 'python3 $SCRIPT_DIR/main.py\n'