This commit is contained in:
Alexandre
2023-02-12 12:07:14 +01:00
parent 86ba596ef5
commit 992e4c213d
10 changed files with 15 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ if [ -n "${RC_SVCNAME}" ]; then
# Re-enter the init script to start any dependant services
if /etc/init.d/"${RC_SVCNAME}" --quiet status ; then
export IN_BACKGROUND=true
if [ -d /var/run/s6/container_environment ]; then printf "true" > /var/run/s6/container_environment/IN_BACKGROUND; fi
if [ -d /var/run/s6/container_environment ]; then printf "%s" "true" > /var/run/s6/container_environment/IN_BACKGROUND; fi
/etc/init.d/"${RC_SVCNAME}" --quiet stop
fi
fi

View File

@@ -78,7 +78,7 @@ if [ -n "${RC_SVCNAME}" ]; then
# Re-enter the init script to start any dependant services
if ! /etc/init.d/"${RC_SVCNAME}" --quiet status ; then
export IN_BACKGROUND=true
if [ -d /var/run/s6/container_environment ]; then printf "true" > /var/run/s6/container_environment/IN_BACKGROUND; fi
if [ -d /var/run/s6/container_environment ]; then printf "%s" "true" > /var/run/s6/container_environment/IN_BACKGROUND; fi
/etc/init.d/${RC_SVCNAME} --quiet start
fi
fi