Created
August 13, 2020 12:16
-
-
Save akhenakh/3a79f805546c3157fe20890b65c8ae74 to your computer and use it in GitHub Desktop.
arm64 consul-bin Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Consul Agent | |
Requires=network-online.target | |
After=network-online.target | |
[Service] | |
User=consul | |
Group=consul | |
PIDFile=/var/run/consul/consul.pid | |
PermissionsStartOnly=true | |
ExecStartPre=-/bin/mkdir -p /var/run/consul | |
ExecStartPre=/bin/chown -R consul:consul /var/run/consul | |
EnvironmentFile=-/etc/default/consul | |
Restart=on-failure | |
ExecStart=/usr/bin/consul agent $CONSUL_FLAGS -pid-file=/var/run/consul/consul.pid -config-dir=/etc/consul.d | |
ExecReload=/usr/bin/kill -HUP $MAINPID | |
KillSignal=SIGINT | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Vasiliy Bukharev <bvp-yar@ya.ru> | |
pkgname=consul-bin | |
pkgver=1.8.2 | |
pkgrel=1 | |
pkgdesc='A tool for service discovery, monitoring and configuration.' | |
#arch=('i686') | |
#arch=('x86_64') | |
arch=('i686' 'x86_64' 'arm' 'armv6h' 'aarch64') | |
url="https://www.consul.io" | |
license=('MPL') | |
depends=('glibc') | |
provides=('consul=1.8.2') | |
source=('consul.service') | |
source_i686=("https://releases.hashicorp.com/consul/${pkgver}/consul_${pkgver}_linux_386.zip") | |
source_x86_64=("https://releases.hashicorp.com/consul/${pkgver}/consul_${pkgver}_linux_amd64.zip") | |
source_arm=("https://releases.hashicorp.com/consul/${pkgver}/consul_${pkgver}_linux_armelv5.zip") | |
source_armv6h=("https://releases.hashicorp.com/consul/${pkgver}/consul_${pkgver}_linux_armhfv6.zip") | |
source_armv7h=("https://releases.hashicorp.com/consul/${pkgver}/consul_${pkgver}_linux_armhfv6.zip") | |
source_aarch64=("https://releases.hashicorp.com/consul/${pkgver}/consul_${pkgver}_linux_arm64.zip") | |
sha256sums=('1e5d4ac3a1d9121eae5b147bcab28c5ff438b89eda08b86f5f4551d05fcb0570') | |
sha256sums_i686=('4bddb6b7331f313494a36c8137772a90c18e5f1ec740663cba360f6c0509db08') | |
sha256sums_x86_64=('427f9392ed4eb9a55b0097c1ba09b06e4ba45934ed41c41e49e00f6f819793f0') | |
sha256sums_arm=('2967835b59008c7d6dbc8f2afe0252cc9dc7d7ebc5314eb382772835d0114ffa') | |
sha256sums_armv6h=('4be75a82f76ff127e7372ad2b27dfb2d189cfeea3825a3718fe8bd6805ad2961') | |
sha256sums_aarch64=('d70c9e54080105a8cdaec17e0bd85acd072ef9874086de8007901640140f59c0') | |
options=('!strip') | |
package() { | |
install -Dm755 consul "$pkgdir"/usr/bin/consul | |
install -Dm644 consul.service "$pkgdir"/usr/lib/systemd/system/consul.service | |
install -d "$pkgdir"/etc/consul.d | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment