File tree Expand file tree Collapse file tree
php/shared/usr/local/share/env
ubuntu/16.04/etc/confd/templates/supervisor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export APP_GROUP=${APP_GROUP:-www-data}
1818export START_MODE=${START_MODE:- web}
1919declare " START_MODE_${START_MODE^^} =true"
2020
21- START_CRON=" $( convert_to_boolean_string " ${START_MODE_CRON:- false} " ) "
21+ START_CRON=" $( convert_to_boolean_string " ${START_CRON :- ${ START_MODE_CRON:- false} } " ) "
2222export START_CRON
2323
2424APP_ENDPOINT_REWRITE=" $( convert_to_boolean_string " ${APP_ENDPOINT_REWRITE-true} " ) "
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ stdout_logfile_maxbytes=0
55stderr_logfile= /dev/stderr
66stderr_logfile_maxbytes= 0
77loglevel = warn
8+ {{ if not (eq " true" (getenv " NON_PRIVILEGED_USER" )) }}
89user = root
10+ {{ end }}
911autostart = {{ getenv " START_CRON" }}
1012autorestart = true
1113priority = 5
12-
You can’t perform that action at this time.
0 commit comments