From 394f1ed37ce860da6fdc385769bf29f9737105cd Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Thu, 4 Jun 2026 21:21:20 +0900 Subject: chore: genesis — remove all files to rebuild from scratch (arch rewrite) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packaging/dispatch-frontend-wrapper.sh | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 packaging/dispatch-frontend-wrapper.sh (limited to 'packaging/dispatch-frontend-wrapper.sh') diff --git a/packaging/dispatch-frontend-wrapper.sh b/packaging/dispatch-frontend-wrapper.sh deleted file mode 100755 index 06aa9b0..0000000 --- a/packaging/dispatch-frontend-wrapper.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# dispatch-frontend-wrapper.sh -# Wrapper script for running the Dispatch Frontend static-file server -# outside of systemd / s6. -# Install to /usr/bin/dispatch-frontend (chmod 755). -# -# Usage: -# dispatch-frontend # runs the server, inheriting the current environment -# dispatch-frontend --help # passes flags through to bun - -set -euo pipefail - -DISPATCH_CONF="/etc/dispatch/dispatch-frontend.conf" -DISPATCH_DIR="/opt/dispatch" -BUN="/usr/bin/bun" -ENTRY_POINT="packages/frontend/serve.ts" - -# Source the environment file if it exists -if [[ -f "$DISPATCH_CONF" ]]; then - set -o allexport - # shellcheck source=/etc/dispatch/dispatch-frontend.conf - source "$DISPATCH_CONF" - set +o allexport -fi - -# Change to the application directory -cd "$DISPATCH_DIR" - -# Hand off to bun — exec replaces this process so signals are forwarded correctly -exec "$BUN" "$ENTRY_POINT" "$@" -- cgit v1.2.3