diff options
author | Emanuele 'Lele' Calo | 2019-10-02 00:28:08 +0200 |
---|---|---|
committer | Emanuele 'Lele' Calo | 2019-10-02 00:28:08 +0200 |
commit | 4d6db589a1cb5a4be5f8c74b8882636f3acd782a (patch) | |
tree | abb4c7d8c52d757ff66d6df48fbd252cda8752c6 | |
parent | 778c25ef36db03586216effb639e2e671783b029 (diff) | |
download | aur-4d6db589a1cb5a4be5f8c74b8882636f3acd782a.tar.gz |
Added backup conf file
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = teleport pkgdesc = Modern SSH server for teams managing distributed infrastructure pkgver = 4.1.0 - pkgrel = 1 + pkgrel = 2 url = https://gravitational.com/teleport install = teleport.install arch = x86_64 @@ -9,6 +9,7 @@ pkgbase = teleport license = Apache depends = glibc options = !strip + backup = etc/teleport/teleport.yaml source_x86_64 = https://get.gravitational.com/teleport-v4.1.0-linux-amd64-bin.tar.gz source_x86_64 = teleport.service source_x86_64 = teleport.yaml @@ -2,7 +2,7 @@ pkgname=teleport pkgver=4.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Modern SSH server for teams managing distributed infrastructure" arch=('x86_64' 'arm') url="https://gravitational.com/teleport" @@ -41,11 +41,16 @@ sha256sums_arm=( ) options=(!strip) +backup=('etc/teleport/teleport.yaml') + package() { mkdir -p "${pkgdir}/usr/lib/systemd/system" "${pkgdir}/usr/bin" mkdir -p "${pkgdir}/etc/teleport" - install -m644 -t "${pkgdir}/usr/lib/systemd/system/" teleport.service + install -m644 -t "${pkgdir}/etc/teleport/" teleport.yaml + + install -m644 -t "${pkgdir}/usr/lib/systemd/system/" teleport.service + cd "${srcdir}/teleport" install -m755 -t "${pkgdir}/usr/bin/" teleport tctl tsh # no man pages, docs or web assets in release tarball |