bookwyrm/contrib/systemd/bookwyrm.service

15 lines
325 B
SYSTEMD
Raw Normal View History

[Unit]
Description=BookWyrm
After=network.target postgresql.service redis.service
[Service]
User=bookwyrm
Group=bookwyrm
WorkingDirectory=/opt/bookwyrm/
ExecStart=/opt/bookwyrm/venv/bin/gunicorn bookwyrm.wsgi:application --bind 0.0.0.0:8000
StandardOutput=journal
StandardError=inherit
[Install]
WantedBy=multi-user.target