view odfcast.service @ 101:779abdc03d67 tip

Added tag 1.6.0 for changeset bf1a998fff48
author Bernhard Herzog <bh@intevation.de>
date Tue, 26 Jun 2018 22:39:10 +0200
parents bf1a998fff48
children
line wrap: on
line source
[Unit]
Description=ODFCast
Wants=network.target

[Service]
User=odfcast
Group=odfcast
Restart=always
WorkingDirectory=/home/odfcast/odfcast/releases/current

# === Flask ===
# ExecStart=/home/odfcast/odfcast/env/bin/python3 main.py
# === eventlet ===
# ExecStart=/usr/bin/gunicorn3 --bind 127.0.0.1:5000 --access-logfile - \
#     --pythonpath ../../env/lib/python3.5/site-packages/ \
#     --workers 3 --worker-class eventlet wsgi
# === gthread ===
ExecStart=/usr/bin/gunicorn3 --bind 127.0.0.1:5000 --access-logfile - \
    --pythonpath ../../env/lib/python3.5/site-packages/ \
    --workers 3 --threads 4 --worker-class gthread odfcast:app

[Install]
WantedBy=multi-user.target
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)