server-rack-led/start.sh

7 lines
224 B
Bash
Raw 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-ui
2022-03-26 19:26:34 +00:00
sleep 5
screen -S rackled-ui -X stuff "cd $SCRIPT_DIR\n"
screen -S rackled-ui -X stuff "python3 main.py\n"