mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
23 lines
632 B
Desktop File
23 lines
632 B
Desktop File
[Unit]
|
|
Description=Krakend API Gateway
|
|
Documentation=http://krakend.io
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=krakend
|
|
ExecStart=/usr/bin/krakend run -c /etc/krakend/krakend.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
|