tellme/server/tellme.service

14 lines
374 B
Desktop File

[Unit]
Description=Tellme Server
After=network.target
[Service]
User=cgsserver
WorkingDirectory=/opt/tellme
Environment=FLASK_CONFIG=production
ExecStart=gunicorn -b 0.0.0.0:8080 --preload --workers=1 --threads=1 -t 300 --access-logfile /var/log/tellme/access.log --error-logfile /var/log/tellme/error.log tellmesrv:app
Restart=always
[Install]
WantedBy=multi-user.target