From 2aeb58d9eda060f128ab2645790c48582b79786f Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Fri, 3 Jul 2026 15:23:13 +0100 Subject: [PATCH] no quotes around COMPOSECMD --- openrc/init.d/joeac.net.template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openrc/init.d/joeac.net.template b/openrc/init.d/joeac.net.template index 584cc61..53763fa 100755 --- a/openrc/init.d/joeac.net.template +++ b/openrc/init.d/joeac.net.template @@ -22,7 +22,7 @@ configtest() { eerror "The docker-compose file $${COMPOSEFILE} does not exist!" return 1 fi - if "${COMPOSECMD}" -f "$${COMPOSEFILE}" config >&/dev/null; then + if ${COMPOSECMD} -f "$${COMPOSEFILE}" config >&/dev/null; then einfo "config: ok" else eerror "config: error" @@ -33,13 +33,13 @@ configtest() { start() { configtest || return 1 ebegin "Starting $${MODULENAME}" - "${COMPOSECMD}" -f "$${COMPOSEFILE}" up -d $${DOCKER_COMPOSE_UP_ARGS} $${MODULENAME} + ${COMPOSECMD} -f "$${COMPOSEFILE}" up -d $${DOCKER_COMPOSE_UP_ARGS} $${MODULENAME} eend $$? } stop() { ebegin "Stopping $${MODULENAME}" - "${COMPOSECMD}" -f "$${COMPOSEFILE}" down --timeout=5 $${MODULENAME} + ${COMPOSECMD} -f "$${COMPOSEFILE}" down --timeout=5 $${MODULENAME} eend $$? } @@ -59,7 +59,7 @@ status() { einfo "status: [$$pod] stopped" exit 3 fi - done < <("${COMPOSECMD}" -f "$${COMPOSEFILE}" ps --quiet) + done < <(${COMPOSECMD} -f "$${COMPOSEFILE}" ps --quiet) einfo "status: no container found for $${MODULENAME}" exit 3 }