testing/traefik: upgrade to 2.2.3

and update init script
This commit is contained in:
Michał Polański 2020-07-09 22:18:21 +02:00 committed by Leo
parent 1955abe6dc
commit 2849b857bd
3 changed files with 13 additions and 15 deletions

View File

@ -2,7 +2,7 @@
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=traefik
pkgver=2.2.2
pkgver=2.2.3
pkgrel=0
pkgdesc="The Cloud Native Edge Router"
url="https://traefik.io"
@ -62,8 +62,8 @@ cleanup_srcdir() {
default_cleanup_srcdir
}
sha512sums="635067220cf22b2aecd958a1e77e5027710038841a3bc2b83391d9a03690b62f9e21ca9c10b2f775a73d61d87491092b544800e3e709233ea741c97f625140bc traefik-2.2.2.tar.gz
2fe42052cdb035b202c7c0a1acd5cfe9ed1800ca067f2f5588d54e6ffbdd672d7c46cfd57fcfc219cadaa24d64a0e038a20d092eb1e4c04b67b8eb83c0af74fd traefik.initd
1519c2f446c4bc3af8407eb367a05e5ec0491f28d56d5385b12a550c84606d84e2424aadd5d72e56e628fd1da3f0f194ab3c077e6da85ead75a256f8e8069751 traefik.confd
sha512sums="746570a91750fa316ef792e5e5338bad0bc8762342583e03adf481d8caf0ea11ad6793240509ab32474a0678b21192390f4b2918695951ddd5b317d7b07c2fc5 traefik-2.2.3.tar.gz
563175a94d31fc6b64729781b5749eb1fd76dd0203a877e605fb2135e4095c29e81dc1f0a708d38d21f9200fa20fd957dd858501a4473d9471f4056a60a9bd7c traefik.initd
872c671a67ef050cd5e798a1190653fede4e499dd29123a073e49ae551b308ac43b11973f472eef1a36775bdfbcbcd3926956b68d8362f8c5674d117b2f36dd4 traefik.confd
7dff62db55362433fe33a69bfb556e6f285a033aaaab46ea970ae4ee1b19a4b0d6b25bf5523d4dc6b40d26922945fd1263ae8e53d295d6bf7f18ea1477a9e4d5 traefik.toml
6b6f29fccef961647747b6a77c5b4f201a209e4dca9b21cc346236617076454f89f435bcb7a9f8cac04e3e8dca3b0e717ac5536ea96a283766d1b745eafb68b6 rate-limiter-test.patch"

View File

@ -1,6 +1,4 @@
# Options that are appended unconditionally
traefik_opts="--configFile=/etc/traefik/traefik.toml"
# Configuration for /etc/init.d/traefik
# Examples
CLOUDFLARE_EMAIL=
CLOUDFLARE_API_KEY=
# Run `traefik --help` to list available options.
traefik_opts="--configFile=/etc/traefik/traefik.toml"

View File

@ -1,15 +1,15 @@
#!/sbin/openrc-run
supervisor=supervise-daemon
name=Traefik
description="Traefik - a modern reverse proxy"
name="Traefik"
description="Modern reverse proxy and load balancer"
command=/usr/sbin/traefik
command_args="${traefik_opts}"
command="/usr/sbin/traefik"
command_args="$traefik_opts"
command_user="traefik:traefik"
pidfile=/run/${RC_SVCNAME}.pid
healthcheck_timer=60
description_healthcheck="Check health status by calling /ping endpoint"
healthcheck_timer=30
healthcheck() {
$command healthcheck >/dev/null