rename notificationFd to notification-fd
it's perfectly valid syntax and consistent with the s6 spelling
This commit is contained in:
@@ -11,10 +11,9 @@ test -n "$contents" && for d in $contents; do
|
||||
touch $out/${name}/contents.d/$d
|
||||
done
|
||||
test -n "$run" && (echo -e "$run" > $out/${name}/run)
|
||||
test -n "${notificationFd}" && (echo ${notificationFd} > $out/${name}/notification-fd)
|
||||
test -n "${notification-fd}" && (echo ${notification-fd} > $out/${name}/notification-fd)
|
||||
test -n "$up" && (echo -e "$up" > $out/${name}/up)
|
||||
test -n "$down" && (echo -e "$down" > $out/${name}/down)
|
||||
( cd $out && ln -s /run/service-state/${name} ./.outputs )
|
||||
for i in $out/${name}/{down,up,run} ; do test -f $i && chmod +x $i; done
|
||||
true
|
||||
# (echo $out/${name} && cd $out/${name} && find . -ls)
|
||||
|
Reference in New Issue
Block a user