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).
7 lines
148 B
Bash
7 lines
148 B
Bash
#!/bin/sh
|
|
|
|
if [ "$1" = "1" ]; then
|
|
getent passwd gateway > /dev/null || \
|
|
useradd -r -M -s /sbin/nologin -c "gateway service account" gateway
|
|
fi
|