thinkserver/installation/think_something.service
Christian Lawson-Perfect 531c609277 add README and COPYING
The README has some basic installation instructions which I hope will be
enough for me to recreate this when I need to.
2025-02-10 12:20:28 +00:00

15 lines
419 B
Desktop File

[Unit]
Description=thinkserver gunicorn daemon
Requires=think_something.socket
After=network.target
[Service]
User=thinkserver
Group=www-data
WorkingDirectory=/srv/think.somethingorotherwhatever.com
ExecStart=/srv/think.somethingorotherwhatever.com/venv/bin/gunicorn \
-c /srv/think.somethingorotherwhatever.com/gunicorn.conf.py \
thinkserver.wsgi:application
[Install]
WantedBy=multi-user.target