mirror of https://git.sr.ht/~sircmpwn/fosspay
16 lines
322 B
16 lines
322 B
10 years ago
|
[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
|