system/systemd/flask_libertacasa.service

18 lines
473 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Liberta.Casa Flask / Webregistration for IRCd
After=network.target
[Service]
WorkingDirectory=/mnt/gluster01/web/liberta.casa/flask
Environment="PATH=/mnt/gluster01/web/liberta.casa/flask/.local/bin"
Type=simple
ExecStart=/mnt/gluster01/web/liberta.casa/flask/.local/bin/gunicorn -b localhost:8965 -w 3 flaskapp:app
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=flask
Group=flask
SyslogIdentifier=flask-lc
[Install]
WantedBy=multi-user.target