summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVimsucks2018-04-03 10:37:12 +0800
committerVimsucks2018-04-03 10:37:12 +0800
commit364b60e6a8fff98258009206ec5c981a01491fcc (patch)
tree9e5506cf8cd702b1d1284a884b66a7f11231b3f3
parent143a618fe287267dd08f31b332582bd0ebd39bcb (diff)
downloadaur-364b60e6a8fff98258009206ec5c981a01491fcc.tar.gz
add reload to frpc.service and frpc@.service
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rw-r--r--frpc.service1
-rw-r--r--frpc@.service1
4 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b1c2875f8c..59b923daa5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = frp
pkgdesc = A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
pkgver = 0.16.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/fatedier/frp
install = frp.install
arch = x86_64
@@ -12,9 +12,9 @@ pkgbase = frp
source = frpc@.service
source = https://github.com/fatedier/frp/releases/download/v0.16.1/frp_0.16.1_linux_amd64.tar.gz
md5sums = 6f9c6681357f3f984983457151d7f0c5
- md5sums = d704eacd9f769de32c8ab2c875d9f34a
+ md5sums = e3bfa7c428433fa6cbb5aa64515d8899
md5sums = 50364b050ca08f47b7afe305f528eaa2
- md5sums = aa40573c08f791bfd73900f95bc136ce
+ md5sums = 7aaf36865c656232b441e7bbaf2993dd
md5sums = 2715de9dac4a2da4817de9dd285ca600
pkgname = frp
diff --git a/PKGBUILD b/PKGBUILD
index 31f6123bbd2..9aa48c573b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
pkgname=frp
pkgver=0.16.1
-pkgrel=2
+pkgrel=3
pkgdesc="A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet."
license=('Apache')
url="https://github.com/fatedier/frp"
source=(frps.service frpc.service frps@.service frpc@.service "https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_amd64.tar.gz")
arch=('x86_64')
md5sums=('6f9c6681357f3f984983457151d7f0c5'
- 'd704eacd9f769de32c8ab2c875d9f34a'
+ 'e3bfa7c428433fa6cbb5aa64515d8899'
'50364b050ca08f47b7afe305f528eaa2'
- 'aa40573c08f791bfd73900f95bc136ce'
+ '7aaf36865c656232b441e7bbaf2993dd'
'2715de9dac4a2da4817de9dd285ca600')
install=$pkgname.install
diff --git a/frpc.service b/frpc.service
index 32953475c00..dd88ce010e1 100644
--- a/frpc.service
+++ b/frpc.service
@@ -8,6 +8,7 @@ User=nobody
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/frpc -c /etc/frp/frpc.ini
+ExecReload=/usr/bin/frpc reload -c /etc/frp/frpc.ini
[Install]
WantedBy=multi-user.target
diff --git a/frpc@.service b/frpc@.service
index 1dbba21dc8a..c88ae7f33c6 100644
--- a/frpc@.service
+++ b/frpc@.service
@@ -6,6 +6,7 @@ After=network.target
Type=simple
User=nobody
ExecStart=/usr/bin/frpc -c /etc/frp/%i.ini
+ExecReload=/usr/bin/frpc reload -c /etc/frp/%i.ini
[Install]
WantedBy=multi-user.target