#!/bin/sh ''':' . "`dirname "$0"`/../venv/bin/activate" export YT_CONFIG=/opt/yt/config/config.ini cd `dirname "$0"`/.. exec python3 -m app #exec python3 "$0" "$@" ':''' from . import app if __name__ == '__main__': app.run(debug=True, port=8000, host="0.0.0.0")