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