13 lines
302 B
SYSTEMD
13 lines
302 B
SYSTEMD
[Unit]
|
|
Description=Gunicorn instance to serve Twxtter
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=ss13
|
|
Group=www-data
|
|
WorkingDirectory=/srv/Twxtter-main
|
|
ExecStart=/home/ss13/.local/lib/python3.8/site-packages/gunicorn --workers 3 --bind unix:twxtter.sock -m 007 wsgi:app
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|