diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | frpc@.service | 4 | ||||
-rw-r--r-- | frps@.service | 2 |
4 files changed, 11 insertions, 7 deletions
@@ -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.20.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/fatedier/frp install = frp.install arch = x86_64 @@ -14,8 +14,8 @@ pkgbase = frp source = frpc@.service md5sums = 6f9c6681357f3f984983457151d7f0c5 md5sums = e3bfa7c428433fa6cbb5aa64515d8899 - md5sums = 50364b050ca08f47b7afe305f528eaa2 - md5sums = 7aaf36865c656232b441e7bbaf2993dd + md5sums = 346fabd46c12c039e39a26986629bc6d + md5sums = dd170d972b1ea8c681bde054dbebf888 source_x86_64 = https://github.com/fatedier/frp/releases/download/v0.20.0/frp_0.20.0_linux_amd64.tar.gz md5sums_x86_64 = d8d573f44235d84a3b7cb04faf66d744 source_i686 = https://github.com/fatedier/frp/releases/download/v0.20.0/frp_0.20.0_linux_386.tar.gz @@ -2,7 +2,7 @@ pkgname=frp pkgver=0.20.0 -pkgrel=1 +pkgrel=2 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" @@ -13,8 +13,8 @@ source_i686=("https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_$ source_arm=("https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_arm.tar.gz") md5sums=('6f9c6681357f3f984983457151d7f0c5' 'e3bfa7c428433fa6cbb5aa64515d8899' - '50364b050ca08f47b7afe305f528eaa2' - '7aaf36865c656232b441e7bbaf2993dd') + '346fabd46c12c039e39a26986629bc6d' + 'dd170d972b1ea8c681bde054dbebf888') md5sums_x86_64=('d8d573f44235d84a3b7cb04faf66d744') md5sums_i686=('4200e240343acc8458ccbf6e62196bbf') md5sums_arm=('06eea7fe56a7c5933d148497ae9fc36f') diff --git a/frpc@.service b/frpc@.service index c88ae7f33c6e..46251ed88bc3 100644 --- a/frpc@.service +++ b/frpc@.service @@ -3,8 +3,10 @@ Description=Frp Client Service After=network.target [Service] -Type=simple +Type=idle User=nobody +Restart=on-failure +RestartSec=5s ExecStart=/usr/bin/frpc -c /etc/frp/%i.ini ExecReload=/usr/bin/frpc reload -c /etc/frp/%i.ini diff --git a/frps@.service b/frps@.service index b8cc8423bb1b..8b625ca7f707 100644 --- a/frps@.service +++ b/frps@.service @@ -5,6 +5,8 @@ After=network.target [Service] Type=simple User=nobody +Restart=on-failure +RestartSec=5s ExecStart=/usr/bin/frps -c /etc/frp/%i.ini [Install] |