summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rw-r--r--geph-client.install7
-rw-r--r--geph-client.service6
4 files changed, 10 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb24d8e46987..8df67d8d7b81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = geph-client-git
pkgdesc = A command-line Geph client
- pkgver = r144.f29acd3
- pkgrel = 2
+ pkgver = r168.c66c8c5
+ pkgrel = 1
url = https://github.com/geph-official/geph2
arch = x86_64
groups = geph2-git
@@ -14,7 +14,7 @@ pkgbase = geph-client-git
source = git+https://github.com/geph-official/geph2.git
source = geph-client.service
sha512sums = SKIP
- sha512sums = d23b669396f8bd6c99d78a478de233b211f4202812348dc2c78050ad2646870027a766a0bca51ead70b06947fb6dc49d646e462682e0d3fb685b3a00840d104a
+ sha512sums = 925109cf7392f2bce01d59bc0bd6e2d7102670b5438fee5962c11b29646722c3bb905db439ba244310e8333465791e5eac979c3c2ead1536fe40d3dbb920333d
pkgname = geph-client-git
diff --git a/PKGBUILD b/PKGBUILD
index ce77345615fb..3f6cbadd1fa0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=geph-client-git
_pkgname=geph-client
-pkgver=r144.f29acd3
-pkgrel=2
+pkgver=r168.c66c8c5
+pkgrel=1
pkgdesc='A command-line Geph client'
arch=('x86_64')
url="https://github.com/geph-official/geph2"
@@ -16,7 +16,7 @@ conflicts=("$_pkgname")
source=("git+$url.git"
"geph-client.service")
sha512sums=('SKIP'
- 'd23b669396f8bd6c99d78a478de233b211f4202812348dc2c78050ad2646870027a766a0bca51ead70b06947fb6dc49d646e462682e0d3fb685b3a00840d104a')
+ '925109cf7392f2bce01d59bc0bd6e2d7102670b5438fee5962c11b29646722c3bb905db439ba244310e8333465791e5eac979c3c2ead1536fe40d3dbb920333d')
pkgver() {
cd geph2
diff --git a/geph-client.install b/geph-client.install
deleted file mode 100644
index 89a04fa6c96e..000000000000
--- a/geph-client.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- setcap cap_net_bind_service+ep usr/bin/geph-client 2>/dev/null
-}
-
-post_upgrade() {
- post_install "$1"
-}
diff --git a/geph-client.service b/geph-client.service
index f8034ee9100a..c97a578f9e9c 100644
--- a/geph-client.service
+++ b/geph-client.service
@@ -1,13 +1,15 @@
[Unit]
Description=Geph client Service
-After=network-online.target
-Wants=network-online.target
+After=network.target nss-lookup.target
[Service]
Type=simple
User=nobody
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+NoNewPrivileges=true
ExecStart=/usr/bin/geph-client -config /etc/geph2/geph-client.ini
+Restart=on-failure
[Install]
WantedBy=multi-user.target