thinkserver/installation/think_something.service

16 lines
419 B
SYSTEMD
Raw Normal View History

[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