16 lines
322 B
Desktop File
16 lines
322 B
Desktop File
[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
|