modify singbox sub

This commit is contained in:
ReturnFI
2024-09-05 21:50:58 +00:00
parent b401f44a61
commit 20876f43d8
3 changed files with 20 additions and 3 deletions

View File

@ -247,6 +247,10 @@ hysteria2_change_sni_handler() {
done
python3 $CLI_PATH change-hysteria2-sni --sni "$sni"
if systemctl is-active --quiet singbox.service; then
systemctl restart singbox.service
fi
}