Add tellme service

This commit is contained in:
Guy Van Sanden 2025-02-04 16:46:52 +01:00
parent 522c5d243f
commit 9f4c19fa5f

View File

@ -1,12 +1,10 @@
[Unit] [Unit]
Description=CGS Server Description=Simplex TellMe Bot
After=network.target After=network.target
[Service] [Service]
User=cgsserver User=tbot
WorkingDirectory=/opt/cgs/server ExecStart=/usr/local/bin/simplex-chat -p 5080
Environment=FLASK_CONFIG=production
ExecStart=/opt/cgs/server/venv/bin/gunicorn -b localhost:5000 --preload --workers={{ gunicorn_workers }} --threads={{ gunicorn_threads }} -t {{ gunicorn_timeout }} --access-logfile /var/log/cgsserver/access.log --error-logfile /var/log/cgsserver/error.log app:app
Restart=always Restart=always
[Install] [Install]