2 Commits
v0.08 ... v0.0x

Author SHA1 Message Date
fancy
da0c925efc add licence in aur 2020-05-16 17:26:38 +08:00
fancy
b2b3168463 update readme 2020-05-14 16:16:45 +08:00
4 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ pkgrel=1
pkgdesc="A transparent proxy program with cgroup2, like proxychains"
arch=('x86_64')
url="https://github.com/springzfx/cgproxy"
license=('')
license=('GPL')
groups=('')
makedepends=('cmake')
depends=('systemd')

View File

@@ -6,7 +6,7 @@
## note, cgroup must start with slash '/'
## the value can be string or bash array
## for array, only the first element will be created if not exist
## and the rest elements will not, so won't be applied
## and the rest elements will not, so won't be applied if not exist
### global proxy with v2ray service
# cgroup_proxy="/"

View File

@@ -107,6 +107,7 @@ esac
done
## TODO cgroup need to exists before using in iptables since 5.6.5, maybe it's bug
## only create the first one in arrary
test -d $cgroup_mount_point$cgroup_proxy || mkdir $cgroup_mount_point$cgroup_proxy || exit -1;
test -d $cgroup_mount_point$cgroup_noproxy || mkdir $cgroup_mount_point$cgroup_noproxy || exit -1;

View File

@@ -84,7 +84,7 @@ mkdir build && cd build && cmake .. && make && sudo make install
## note, cgroup must start with slash '/'
## the value can be string or bash array
## for array, only the first element will be created if not exist
## and the rest elements will not, so won't be applied
## and the rest elements will not, so won't be applied if not exist
### global proxy with v2ray service
# cgroup_proxy="/"