sed --> sedfile
This commit is contained in:
parent
1d70aed0b7
commit
2727c67546
|
@ -40,7 +40,7 @@ function _early_supervisor_setup() {
|
||||||
if ! grep -q "loglevel = ${SUPERVISOR_LOGLEVEL}" /etc/supervisor/supervisord.conf; then
|
if ! grep -q "loglevel = ${SUPERVISOR_LOGLEVEL}" /etc/supervisor/supervisord.conf; then
|
||||||
case "${SUPERVISOR_LOGLEVEL}" in
|
case "${SUPERVISOR_LOGLEVEL}" in
|
||||||
( 'critical' | 'error' | 'info' | 'debug' )
|
( 'critical' | 'error' | 'info' | 'debug' )
|
||||||
sed -i -E \
|
sedfile -i -E \
|
||||||
"s|(loglevel).*|\1 = ${SUPERVISOR_LOGLEVEL}|g" \
|
"s|(loglevel).*|\1 = ${SUPERVISOR_LOGLEVEL}|g" \
|
||||||
/etc/supervisor/supervisord.conf
|
/etc/supervisor/supervisord.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue