server-rack-led/start.sh

4 lines
166 B
Bash

#!bin/bash -e
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
screen -m -d -S rackled bash -c "cd $SCRIPT_DIR && python3 ./main.py"