Commit b2f00bf8 authored by Steve Weber's avatar Steve Weber
Browse files

rt1183126

parent cc9bb9d2
......@@ -5,7 +5,8 @@ Description={{vars.service_name}}
Type=simple
SyslogIdentifier={{vars.service_name}}-asgi
WorkingDirectory={{vars.dir_src}}
ExecStart=DJANGO_SETTINGS_MODULE={{vars.module_settings}} {{vars.dir_venv}}/bin/gunicorn {{vars.module_asgi}}:application -k uvicorn.workers.UvicornWorker -w 6 -b 127.0.0.1 -u {{vars.user}} -g {{vars.group}}
Environment="DJANGO_SETTINGS_MODULE={{vars.module_settings}}"
ExecStart={{vars.dir_venv}}/bin/gunicorn {{vars.module_asgi}}:application -k uvicorn.workers.UvicornWorker -w 6 -b 127.0.0.1 -u {{vars.user}} -g {{vars.group}}
ExecStartPost=/bin/sleep 2
Restart=on-failure
RestartSec=15s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment