mirror of
https://github.com/springzfx/cgproxy.git
synced 2026-04-23 10:11:04 +08:00
update readme
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
## note, cgroup must start with slash '/'
|
## note, cgroup must start with slash '/'
|
||||||
## the value can be string or bash array
|
## the value can be string or bash array
|
||||||
## for array, only the first element will be created if not exist
|
## 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
|
### global proxy with v2ray service
|
||||||
# cgroup_proxy="/"
|
# cgroup_proxy="/"
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ esac
|
|||||||
done
|
done
|
||||||
|
|
||||||
## TODO cgroup need to exists before using in iptables since 5.6.5, maybe it's bug
|
## 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_proxy || mkdir $cgroup_mount_point$cgroup_proxy || exit -1;
|
||||||
test -d $cgroup_mount_point$cgroup_noproxy || mkdir $cgroup_mount_point$cgroup_noproxy || exit -1;
|
test -d $cgroup_mount_point$cgroup_noproxy || mkdir $cgroup_mount_point$cgroup_noproxy || exit -1;
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ mkdir build && cd build && cmake .. && make && sudo make install
|
|||||||
## note, cgroup must start with slash '/'
|
## note, cgroup must start with slash '/'
|
||||||
## the value can be string or bash array
|
## the value can be string or bash array
|
||||||
## for array, only the first element will be created if not exist
|
## 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
|
### global proxy with v2ray service
|
||||||
# cgroup_proxy="/"
|
# cgroup_proxy="/"
|
||||||
|
|||||||
Reference in New Issue
Block a user