14 lines
340 B
Bash
Executable File
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;
|