add s6-rc-up-tree: start reverse deps of controlled service
When s6-rc stops a service, it also stops everything that depends on it. but when it starts a service it starts only that service, so we have to go through the other services depending on it and figure out if they should be started too.
This commit is contained in:
@@ -16,6 +16,8 @@ done
|
||||
if test -n "$controller" ; then
|
||||
d=$(dirname $(cd ${controller} && ls -d */type))
|
||||
echo "$d)" > $out/${name}/controller
|
||||
# ^ why is there a closing paren here?
|
||||
touch $out/${name}/dependencies.d/controlled
|
||||
fi
|
||||
|
||||
for i in timeout-up timeout-down run notification-fd up down finish consumer-for producer-for pipeline-name restart-on-upgrade; do
|
||||
|
Reference in New Issue
Block a user