Commit 9bb46a37 by Feanil Patel

Run pre-supervisor as www-data since supervisor doesn't really need access to…

Run pre-supervisor as www-data since supervisor doesn't really need access to the env and auth json.
parent 7a19502a
......@@ -3,7 +3,7 @@ description "Tasks before supervisord"
start on runlevel [2345]
task
setuid {{ supervisor_user }}
setuid {{ common_web_user }}
{% if programs_code_dir is defined %}
{% set programs_command = "--programs-env " + programs_home + "/programs_env --programs-code-dir " + programs_code_dir + " --programs-python " + COMMON_BIN_DIR + "/python.programs" %}
......
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