From f5f4995c3243514231506f99bc420583c55d15e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 16 Sep 2026 17:53:59 +0800 Subject: [PATCH] Fix systemd daemon reload after package installation --- release/config/sing-box.postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/release/config/sing-box.postinst b/release/config/sing-box.postinst index 770dd22a..ac1e4efd 100644 --- a/release/config/sing-box.postinst +++ b/release/config/sing-box.postinst @@ -1,3 +1,9 @@ #!/bin/sh +set -e + systemd-sysusers sing-box.conf + +if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true +fi