initial commit

This commit is contained in:
pyrschtjag committed 2026-10-02 21:34:01 +04:00
commit 13eace9ce9
219 files changed
+6918

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
set -eu
state=/var/lib/xray-lists
out=$(/opt/xray-lists/venv/bin/xray-lists --config /etc/xray-lists/config.yaml)
echo "$out"
if echo "$out" | grep -A 10 "changed:" | grep -q "nftsets.conf"; then
touch "$state/.reload-dnsmasq"
fi
if echo "$out" | grep -A 10 "changed:" | grep -q "\.elements\.nft"; then
touch "$state/.reload-nft"
fi
exit 0