Commit ba9d9cee by Feanil Patel

Do this as the supervisor_user since the services user won't be able to write to the cfg dir.

parent faf80f26
......@@ -3,5 +3,5 @@ description "Tasks before supervisord"
start on runlevel [2345]
task
setuid {{ supervisor_service_user }}
setuid {{ supervisor_user }}
exec {{ supervisor_venv_dir }}/bin/python {{ supervisor_app_dir }}/pre_supervisor_checks.py --available={{supervisor_available_dir}} --enabled={{supervisor_cfg_dir}}
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