mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
Complete rebrand of the fork from KrakenD naming to Hanzo Gateway: - Go package: `package krakend` → `package gateway` (9 source files) - Directory: cmd/krakend-ce → cmd/gateway, cmd/krakend-integration → cmd/gateway-integration - Config files: krakend.json → gateway.json (configs, test fixtures) - Dockerfile: user, paths, binary all renamed to gateway - K8s manifests: deployment/service/ingress names, labels, env vars (KRAKEND_PORT → GATEWAY_PORT), configmap names, mount paths - Added enableServiceLinks: false to prevent K8s service link injection - Makefile: all build/deploy targets updated - GitHub Actions: configmap and deployment references updated - Builder/systemd: init scripts, service files, logrotate renamed - Log prefix: [KRAKEND] → [GATEWAY] - Test flags: krakend_* → gateway_* - README and SECURITY.md updated Upstream references preserved (not renamed): - github.com/krakend/* import paths (external dependencies) - core.KrakendVersion, KrakendHeaderName, KrakendHeaderValue (upstream API) - X-Krakend-* HTTP headers (set by upstream Lura framework) - devopsfaith/krakend config alias keys (upstream compatibility) - krakendbf variable (upstream bloomfilter package alias)
23 lines
629 B
Desktop File
23 lines
629 B
Desktop File
[Unit]
|
|
Description=Hanzo API Gateway
|
|
Documentation=https://hanzo.ai
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=gateway
|
|
ExecStart=/usr/bin/gateway run -c /etc/gateway/gateway.json
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
|
LimitNOFILE=infinity
|
|
LimitNPROC=infinity
|
|
LimitCORE=infinity
|
|
# Uncomment TasksMax if your systemd version supports it.
|
|
# Only systemd 226 and above support this version.
|
|
#TasksMax=infinity
|
|
TimeoutStartSec=0
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|