event-timeline/etc/systemd/system/event-timeline.service

15 lines
323 B
SYSTEMD
Raw Permalink Normal View History

2021-11-12 17:03:13 +00:00
[Unit]
Description=event-timeline
[Service]
Type=simple
Restart=always
User=event-timeline
Group=event-timeline
WorkingDirectory=/srv/event-timeline
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/srv/event-timeline/venv/bin/gunicorn app.wsgi:application --reuse-port -b 127.0.0.1:8080
[Install]
WantedBy=multi-user.target