]>
git.gir.st - subscriptionfeed.git/blob - config/startup.sh
3 export CONFIG_DIR
=/opt
/yt
/config
/
4 export VENV_ROOT
=/opt
/yt
/venv
/
5 export APP_DIR
=/opt
/yt
/app
/
7 # iptables -A INPUT -p tcp -m multiport --destination-ports 8800,8801 -j ACCEPT
9 .
"$VENV_ROOT/bin/activate"
10 export YT_CONFIG
="$CONFIG_DIR/config.ini"
11 gunicorn
--config="$CONFIG_DIR/gunicorn-frontend-config.py" --chdir="$APP_DIR" --daemon frontend
:app
12 gunicorn
--config="$CONFIG_DIR/gunicorn-webhooks-config.py" --chdir="$APP_DIR" --daemon webhooks
:app