14 lines
328 B
Django/Jinja
14 lines
328 B
Django/Jinja
[Unit]
|
|
Description=im pantry inventory management server trought gunicorn
|
|
After=network.target
|
|
|
|
[Service]
|
|
User={{ im_user }}
|
|
WorkingDirectory={{ im_home }}/im
|
|
ExecStart=gunicorn --workers {{im_workers}} --bind {{ im_http_listen }}:{{ im_http_port }} im.wsgi:application
|
|
Restart=on-failure
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|