Loading .github/workflows/review.yml +1 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ jobs: - name: Shellformat uses: reviewdog/action-shfmt@v1 if: false with: level: warning shfmt_flags: "-i 2 -ci -bn" Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ RUN set -eu && \ echo "allow br0" > /etc/qemu/bridge.conf && \ unlink /etc/nginx/sites-enabled/default && \ sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \ echo "$VERSION_ARG" > /run/version && \ echo "$VERSION_ARG" > /etc/version && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY --chmod=755 ./src /run/ Loading src/power.sh +2 −2 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ finish() { while isAlive "$pid"; do sleep 1 cnt=$((cnt+1)) (( cnt++ )) # Workaround for zombie pid [ ! -s "$QEMU_PID" ] && break Loading Loading @@ -162,7 +162,7 @@ _graceful_shutdown() { ! isAlive "$pid" && break sleep 1 cnt=$((cnt+1)) (( cnt++ )) [[ "$DEBUG" == [Yy1]* ]] && info "Shutting down, waiting... ($cnt/$QEMU_TIMEOUT)" Loading src/reset.sh +2 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ if [ -f "/run/.containerenv" ]; then fi fi echo "❯ Starting $APP for $ENGINE v$(</run/version)..." echo "❯ Starting $APP for $ENGINE v$(</etc/version)..." echo "❯ For support visit $SUPPORT" # Get the capability bounding set Loading @@ -61,7 +61,7 @@ fi INFO="/run/shm/msg.html" PAGE="/run/shm/index.html" TEMPLATE="/var/www/index.html" FOOTER1="$APP for $ENGINE v$(</run/version)" FOOTER1="$APP for $ENGINE v$(</etc/version)" FOOTER2="<a href='$SUPPORT'>$SUPPORT</a>" SOCKETS=1 Loading Loading
.github/workflows/review.yml +1 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ jobs: - name: Shellformat uses: reviewdog/action-shfmt@v1 if: false with: level: warning shfmt_flags: "-i 2 -ci -bn" Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ RUN set -eu && \ echo "allow br0" > /etc/qemu/bridge.conf && \ unlink /etc/nginx/sites-enabled/default && \ sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \ echo "$VERSION_ARG" > /run/version && \ echo "$VERSION_ARG" > /etc/version && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY --chmod=755 ./src /run/ Loading
src/power.sh +2 −2 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ finish() { while isAlive "$pid"; do sleep 1 cnt=$((cnt+1)) (( cnt++ )) # Workaround for zombie pid [ ! -s "$QEMU_PID" ] && break Loading Loading @@ -162,7 +162,7 @@ _graceful_shutdown() { ! isAlive "$pid" && break sleep 1 cnt=$((cnt+1)) (( cnt++ )) [[ "$DEBUG" == [Yy1]* ]] && info "Shutting down, waiting... ($cnt/$QEMU_TIMEOUT)" Loading
src/reset.sh +2 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ if [ -f "/run/.containerenv" ]; then fi fi echo "❯ Starting $APP for $ENGINE v$(</run/version)..." echo "❯ Starting $APP for $ENGINE v$(</etc/version)..." echo "❯ For support visit $SUPPORT" # Get the capability bounding set Loading @@ -61,7 +61,7 @@ fi INFO="/run/shm/msg.html" PAGE="/run/shm/index.html" TEMPLATE="/var/www/index.html" FOOTER1="$APP for $ENGINE v$(</run/version)" FOOTER1="$APP for $ENGINE v$(</etc/version)" FOOTER2="<a href='$SUPPORT'>$SUPPORT</a>" SOCKETS=1 Loading