fix: allow netlink for wildcard listener startup
TallyNote release / linux-x64 (push) Successful in 6m4s

This commit is contained in:
Qiufeng
2026-09-02 14:06:49 +08:00
parent 37ffc27ff5
commit 1925676fc9
4 changed files with 9 additions and 3 deletions
+2
View File
@@ -2,6 +2,8 @@
set -Eeuo pipefail
root=$(cd "$(dirname "$0")/.." && pwd)
bash -n "$root/install.sh" "$root/scripts/tallynote-update.sh"
grep -Eq '^RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK$' "$root/systemd/tallynote.service"
grep -Eq '^RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK$' "$root/systemd/tallynote-update.service"
output=$(bash "$root/install.sh" --dry-run --release-base-url https://releases.example.test/releases)
grep -q 'dry-run' <<<"$output"
grep -q '\[阶段\] 检查运行环境' <<<"$output"