14 lines
346 B
Plaintext
14 lines
346 B
Plaintext
|
[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
|