summaryrefslogtreecommitdiffstats
path: root/systemd/flask_libertacasa.service
blob: 21af2e3b3e4fa9f66fc06aa25e2718dce2b9005b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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