added Malcolm
This commit is contained in:
12
Vagrant/resources/malcolm/sensor-iso/interface/init.sh
Executable file
12
Vagrant/resources/malcolm/sensor-iso/interface/init.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_PATH="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
pushd "$SCRIPT_PATH" >/dev/null 2>&1
|
||||
|
||||
if [ -e ./pyenv/bin/activate ]; then
|
||||
source ./pyenv/bin/activate
|
||||
fi
|
||||
|
||||
gunicorn --bind=127.0.0.1:5000 sensor_interface.routes:app
|
||||
|
||||
popd >/dev/null 2>&1
|
||||
Reference in New Issue
Block a user