mirror of
https://github.com/tildeclub/fosspay.git
synced 2026-01-24 11:10:18 +00:00
Source incoming :)
This commit is contained in:
15
contrib/fosspay.service
Normal file
15
contrib/fosspay.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=fosspay website
|
||||
Wants=network.target
|
||||
Wants=postgresql.target
|
||||
Before=network.target
|
||||
Before=postgresql.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/sircmpwn/fosspay/
|
||||
ExecStart=/usr/local/bin/gunicorn app:app -b 127.0.0.1:5000
|
||||
ExecStop=/usr/bin/pkill gunicorn
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user