Blog Archive for February 4, 2018

Systemd and Gunicorn

February 4, 2018

I've just updated my server from Debian 7 to Debian 9, and the previous configuration I was using to start and stop gunicorn isn't working. This post covers the new systemd based configuration.

/etc/systemd/system

In the /etc/systemd/system folder, create a new file for your service. In my case this is …