Files
cwsvJudo/homepage/participo/bdCheck.sh
2024-03-09 07:37:28 +01:00

14 lines
340 B
Bash
Executable File

#!/bin/sh
# If started as root, then re-start as user "marko":
# if [ "$(id -u)" -eq 0 ]; then
# exec sudo -H -u marko $0 "$@"
# echo "This is never reached.";
# fi
# echo "This runs as user $(id -un)";
# # prints "marko"
cd /home/marko/cwsvJudo/homepage/participo/; . .venv/bin/activate; python bdCheck.py ; deactivate;
exit 0;