The README has some basic installation instructions which I hope will be enough for me to recreate this when I need to.
15 lines
419 B
Desktop File
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
|