ansible-role-nmgfitness/templates/im.service.j2

14 lines
346 B
Plaintext
Raw Normal View History

2020-09-10 22:31:09 +00:00
[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