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