diff --git a/server/simplex-bot.service b/server/simplex-bot.service index 62c6130..4cf1e63 100644 --- a/server/simplex-bot.service +++ b/server/simplex-bot.service @@ -1,12 +1,10 @@ [Unit] -Description=CGS Server +Description=Simplex TellMe Bot After=network.target [Service] -User=cgsserver -WorkingDirectory=/opt/cgs/server -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 +User=tbot +ExecStart=/usr/local/bin/simplex-chat -p 5080 Restart=always [Install]