mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
- 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).
10 lines
225 B
Bash
10 lines
225 B
Bash
#!/bin/sh
|
|
|
|
USERNAME=gateway
|
|
|
|
if [ -x "$(command -v deluser)" ]; then
|
|
deluser --quiet --system $USERNAME > /dev/null || true
|
|
else
|
|
echo >&2 "not removing $USERNAME system account because deluser command was not found"
|
|
fi
|