aboutsummaryrefslogtreecommitdiff
path: root/services/manage
blob: 01f3145ff2a931a6930a18cca5a60af91fc89ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -e

python3 --version > /dev/null 2>&1 || (
    echo Error: failed to run Python with python3 --version.
    exit 1
)

script_dir="$(dirname "$0")"
. "$script_dir/common.bash"

export PYTHONPATH="$CRUPEST_PROJECT_DIR/$CRUPEST_SERVICES_DIR:$PYTHONPATH"
python3 -m manager.service "$@"