change a lot, stable now

This commit is contained in:
fancy
2020-04-24 00:47:25 +08:00
parent 0aa9dd2f45
commit 6ed1be3c8a
8 changed files with 121 additions and 76 deletions

View File

@@ -5,9 +5,9 @@ source $config
# test suid bit
if [ -u "$(which cgattach)" ]; then
cgattach $$ $proxy_cgroup && attached=1
cgattach $$ $cgroup_proxy && attached=1
else
sudo cgattach $$ $proxy_cgroup && attached=1
sudo cgattach $$ $cgroup_proxy && attached=1
fi
# test attach success or not