server-rack-led/start.sh

6 lines
183 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
2021-11-09 14:05:11 +00:00
screen -S rackled -X stuff "python3 '$SCRIPT_DIR'/main.py\n"