File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
php/shared/usr/local/share/env
ubuntu/16.04/etc/confd/templates/supervisor Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export APP_GROUP=${APP_GROUP:-www-data}
18
18
export START_MODE=${START_MODE:- web}
19
19
declare " START_MODE_${START_MODE^^} =true"
20
20
21
- START_CRON=" $( convert_to_boolean_string " ${START_MODE_CRON:- false} " ) "
21
+ START_CRON=" $( convert_to_boolean_string " ${START_CRON :- ${ START_MODE_CRON:- false} } " ) "
22
22
export START_CRON
23
23
24
24
APP_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
5
5
stderr_logfile=/dev/stderr
6
6
stderr_logfile_maxbytes=0
7
7
loglevel = warn
8
+ {{ if not (eq "true" (getenv "NON_PRIVILEGED_USER")) }}
8
9
user = root
10
+ {{ end }}
9
11
autostart = {{ getenv "START_CRON" }}
10
12
autorestart = true
11
13
priority = 5
12
-
You can’t perform that action at this time.
0 commit comments