Commit 713fbd35 authored by 神楽坂玲奈's avatar 神楽坂玲奈

new

parent 84d9505c
Pipeline #16681 passed with stages
in 26 seconds
......@@ -11,4 +11,4 @@ RUN apk --no-cache add libgcc libstdc++ bash iproute2 iptables ipset netcat-open
COPY --from=builder /usr/src/app/tun /usr/local/bin/
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
#!/bin/bash
pid=0
down=$(echo $1 | jq -r '.routers | .[].up')
echo $down
down=$(echo "$1" | jq -r '.routers | .[].down')
echo "$down"
run_stop() {
signalCode=$1
if [ -n "$down" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment