diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-18 17:37:42 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-18 17:37:42 +0000 |
commit | cb545061e4c4207667ca898c2dc21c35477987ee (patch) | |
tree | f163b8c64e4aa4e44d0b3397f3f7120b9b2eb7d5 /services | |
parent | update (diff) | |
download | scripts-cb545061e4c4207667ca898c2dc21c35477987ee.tar.gz scripts-cb545061e4c4207667ca898c2dc21c35477987ee.zip |
update
Diffstat (limited to 'services')
-rwxr-xr-x | services/clipd/run | 9 | ||||
-rwxr-xr-x | services/docker/run | 7 |
2 files changed, 14 insertions, 2 deletions
diff --git a/services/clipd/run b/services/clipd/run index 493539d..34c3239 100755 --- a/services/clipd/run +++ b/services/clipd/run @@ -1,3 +1,10 @@ #!/bin/sh exec 2>&1 -DISPLAY=:0.0 exec /home/devi/scripts/bin/clipd -s 200 -f /home/devi/.clip_history +# DISPLAY=:0.0 exec lua5.3 /home/devi/devi/lclip.git/sqlite3/lclipd.lua -s 200 +exec \ + env \ + XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR}" \ + lua5.3 \ + /home/devi/devi/lclip.git/sqlite3/lclipd.lua \ + -s 200 \ + > /dev/null 2>&1 diff --git a/services/docker/run b/services/docker/run index 05473df..528089e 100755 --- a/services/docker/run +++ b/services/docker/run @@ -6,4 +6,9 @@ mountpoint -q /sys/fs/cgroup/systemd || { mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd; } #exec chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1 -exec env NO_PROXY="localhost,127.0.0.0/8,192.168.0.0/24,10.0.0.0/8,172.16.0.0/12" HTTPS_PROXY="socks5://127.0.0.1:9995" HTTP_PROXY="socks5://127.0.0.1:9995" chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1 +# exec env NO_PROXY="localhost,127.0.0.0/8,192.168.0.0/24,10.0.0.0/8,172.16.0.0/12" HTTPS_PROXY="socks5://127.0.0.1:9995" HTTP_PROXY="socks5://127.0.0.1:9995" chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1 +# echo localhost,127.0.0.0/8,192.168.0.0/24,10.0.0.0/8,172.16.0.0/12 > /etc/sv/docker/envs/NO_PROXY +# echo socks5://127.0.0.1:9995 > /etc/sv/docker/envs/HTTP_PROXY +# echo socks5://127.0.0.1:9995 > /etc/sv/docker/envs/HTTPS_PROXY +# echo socks5://127.0.0.1:9995 > /etc/sv/docker/envs/ALL_PROXY +exec chpst -e /etc/sv/docker/envs -o 1048576 -p 1048576 dockerd $OPTS 2>&1 |