[Unit] Description=im pantry inventory management server trought gunicorn After=network.target [Service] User=root WorkingDirectory={{ im_home }}/nmgfitness ExecStart=python3 -m gunicorn -g={{im_user}} -u={{im_user}} --workers {{im_workers}} --bind {{ im_http_listen }}:{{ im_http_port }} nmgfitness.wsgi:application Restart=on-failure [Install] WantedBy=multi-user.target