server-rack-led/start.sh

7 lines
215 B
Bash
Raw Permalink Normal View History

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