launc_in_venv script to be used in conjunction with supervisord

This commit is contained in:
bkfox
2016-12-29 20:22:52 +01:00
parent 777dc475a5
commit 331152b0e9
2 changed files with 10 additions and 3 deletions

7
scripts/launch_in_venv Executable file
View File

@ -0,0 +1,7 @@
#! /bin/bash
root_dir=`dirname $0`/..
cd $root_dir
source $root_dir/venv/bin/activate
$@
deactivate