You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fosspay/contrib/fosspay.service

16 lines
322 B

9 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