aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xservices/clipd/run10
-rwxr-xr-xservices/dnscrypt-proxy/run4
-rwxr-xr-xservices/docker/run14
-rwxr-xr-xservices/godoc/run6
-rwxr-xr-xservices/kmonad/run3
-rwxr-xr-xservices/redshift/run7
6 files changed, 22 insertions, 22 deletions
diff --git a/services/clipd/run b/services/clipd/run
index 34c3239..904a45e 100755
--- a/services/clipd/run
+++ b/services/clipd/run
@@ -1,10 +1,8 @@
#!/bin/sh
-exec 2>&1
-# 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 \
+ XDG_RUNTIME_DIR="/run/user/1000" \
+ DISPLAY=:0 \
+ /usr/bin/lua5.3 \
+ /home/devi/devi/lclip.git/in_memory/lclipd.lua \
> /dev/null 2>&1
diff --git a/services/dnscrypt-proxy/run b/services/dnscrypt-proxy/run
new file mode 100755
index 0000000..4b53f43
--- /dev/null
+++ b/services/dnscrypt-proxy/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec \
+ env \
+ /usr/bin/dnscrypt-proxy -config /home/devi/scripts/dnscrypt/dnscrypt-proxy.toml 2>&1
diff --git a/services/docker/run b/services/docker/run
deleted file mode 100755
index 528089e..0000000
--- a/services/docker/run
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-[ -r conf ] && . ./conf
-modprobe -q loop || exit 1
-mountpoint -q /sys/fs/cgroup/systemd || {
- mkdir -p /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
-# 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
diff --git a/services/godoc/run b/services/godoc/run
new file mode 100755
index 0000000..04ffcf1
--- /dev/null
+++ b/services/godoc/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+exec \
+ env GOENV_ROOT=/home/devi/.goenv \
+ GOROOT=/home/devi/.gvm/gos/go1.19 \
+ GOPATH=/home/devi/.gvm/pkgsets/go1.19/global \
+ /home/devi/.gvm/pkgsets/go1.19/global/bin/godoc -http=127.0.0.1:6060 2>&1
diff --git a/services/kmonad/run b/services/kmonad/run
index 8415ca4..767b0f2 100755
--- a/services/kmonad/run
+++ b/services/kmonad/run
@@ -1,4 +1,3 @@
#!/bin/sh
-exec 1>&2
-exec kmonad /home/devi/scripts/keymap.kbd || exit 1
+exec /usr/bin/kmonad /home/devi/scripts/keymap.kbd 2>&1
diff --git a/services/redshift/run b/services/redshift/run
new file mode 100755
index 0000000..14d0e06
--- /dev/null
+++ b/services/redshift/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec \
+ env \
+ XDG_RUNTIME_DIR="/run/user/1000" \
+ XAUTHORITY="/home/devi/.Xauthority" \
+ DISPLAY=":0" \
+ prime-run /usr/bin/redshift 2>&1