ansible.fftdf.supernode/files/start-broker.sh

12 lines
279 B
Bash
Raw Normal View History

2015-11-28 14:25:29 +00:00
#!/bin/bash
2019-01-24 20:10:11 +00:00
WDIR=/srv/tunneldigger/env_tunneldigger
VIRTUALENV_DIR=/srv/tunneldigger/env_tunneldigger
2015-11-28 14:25:29 +00:00
cd $WDIR
source $VIRTUALENV_DIR/bin/activate
2019-01-24 20:10:11 +00:00
$VIRTUALENV_DIR/bin/python -m tunneldigger_broker.main ../l2tp_broker.cfg
#bin/python broker/l2tp_broker.py ../l2tp_broker.cfg