Add tellme service

This commit is contained in:
2025-02-04 16:44:16 +01:00
parent 06f93bb894
commit 522c5d243f
2 changed files with 26 additions and 0 deletions

13
server/tellme.service Normal file
View File

@@ -0,0 +1,13 @@
[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 app:app
Restart=always
[Install]
WantedBy=multi-user.target