]>
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 MOD_DIR
=/opt
/yt
/
6 export APP_DIR
=/opt
/yt
/app
/
8 # iptables -A INPUT -p tcp -m multiport --destination-ports 8800,8801 -j ACCEPT
10 .
"$VENV_ROOT/bin/activate"
11 export YT_CONFIG
="$CONFIG_DIR/config.ini"
12 gunicorn
--config="$CONFIG_DIR/gunicorn-frontend-config.py" --chdir="$MOD_DIR" --daemon app
:app
13 gunicorn
--config="$CONFIG_DIR/gunicorn-webhooks-config.py" --chdir="$APP_DIR" --daemon webhooks
:app