commit | author | age | ||
3a37e6 | 1 | #!/bin/sh |
T | 2 | PYTHONVERSION=$(ls -l /usr/local/bin/python3.* |grep -Eo "3\.[0-9]" |tail -n1) |
3 | PYTHON="/usr/local/bin/python$PYTHONVERSION" | |
4 | if [ -x $PYTHON ]; then | |
5 | $PYTHON /usr/local/sbin/vilain.py >> /var/log/daemon 2>&1 & | |
6 | else | |
7 | echo "Error : no python3 executable found" | |
8 | fi | |
9 | exit |