panic-shack/config/minecraft-chat.service

14 lines
461 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Gunicorn instance to serve minecraft-chat wsgi service
After=network.target
[Service]
User=thallada
Group=www-data
WorkingDirectory=/var/www/panic-shack/chat
Environment="PATH=/home/thallada/.virtualenvs/minecraft-chat/bin"
ExecStart=/home/thallada/.virtualenvs/minecraft-chat/bin/gunicorn --workers 1 --bind unix:minecraft-chat.sock -m 007 server:app --log-file /srv/minecraft-panic-shack/gunicorn.log
[Install]
WantedBy=multi-user.target