11 lines
308 B
Bash
Executable file
11 lines
308 B
Bash
Executable file
#!/bin/sh
|
|
|
|
|
|
if [ ! -f /config/settings.conf ]; then
|
|
echo "No configuration file found proceeding with default values"
|
|
python3 /opt/app/configurator.py
|
|
else
|
|
echo "Configuration file found starting configurator with provided settings"
|
|
python3 /opt/app/configurator.py /config/settings.conf
|
|
fi
|
|
|