add etc
This commit is contained in:
parent
1351febef1
commit
6565265057
2 changed files with 83 additions and 0 deletions
14
etc/systemd/system/event-timeline.service
Normal file
14
etc/systemd/system/event-timeline.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[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
|
||||
Loading…
Add table
Add a link
Reference in a new issue