Files
zeekay afa7de94ac chore: complete brand cleanup — remove upstream references
- SECURITY.md: remove KrakenD name and upstream contact
- mirror-images.yml: rename target from 'krakend' to 'gateway-upstream'
- builder/scripts: rebrand service username from 'krakend' to 'gateway'
- deps.sh: rename temp file from krakend_ce_deps to gateway_deps
- router_engine.go: update comments from 'KrakenD' to 'gateway'
- tests/fixtures/bench.json: use canonical alias 'telemetry/logging'

Go import paths and go.mod dependencies left intact (build-breaking).
Test fixture headers (X-Krakend-Completed, User-Agent) left intact
(emitted by upstream library at runtime, changing would break tests).
Config $schema URLs left intact (functional JSON Schema validation).
2026-02-26 09:51:52 -08:00

14 lines
303 B
Bash

#!/bin/sh
set -e
USER=gateway
if ! getent passwd $USER >/dev/null ; then
adduser --system --disabled-login --gecos "Hanzo Gateway" --shell /bin/false --no-create-home $USER > /dev/null
fi
if [ -x "/etc/init.d/gateway" ] || [ -e "/etc/init/gateway.conf" ]; then
service gateway stop || exit $?
fi