proxy-loadbalancer/canihazip/canihazip.service

15 lines
298 B
SYSTEMD
Raw Normal View History

2024-01-14 14:35:42 -07:00
[Unit]
Description=canihazip
After=network.target
[Service]
2024-01-14 20:08:51 -07:00
SyslogIdentifier=canihazip
2024-01-14 14:35:42 -07:00
User=flask
Group=nogroup
WorkingDirectory=/srv/canihazip
ExecStart=/srv/canihazip/venv/bin/gunicorn --workers 3 --bind 0.0.0.0:5000 server:app --timeout 120
Restart=always
[Install]
WantedBy=multi-user.target