AIL-framework/ansible/roles/ail-host/files/startFlask.sh

7 lines
150 B
Bash

#!/bin/bash
source /opt/AIL-framework/AILENV/bin/activate
cd /opt/AIL-framework/var/www
/usr/bin/python2 /opt/AIL-framework/var/www/Flask_server.py