15 lines
243 B
Bash
Executable File
15 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# add group openvpn
|
|
groupadd openvpn
|
|
|
|
# python venv
|
|
PATH="/mop/env/bin:$PATH"
|
|
|
|
cd /mop
|
|
# generate profiles
|
|
python profile_scanner.py -c $CONFIG_FOLDER -a $AUTH_FILE
|
|
|
|
# run main script
|
|
python -u test.py -s /tmp -l $INSTANCE_CONFIG
|