~适配singbox自定义规则

~singbox配置文件修饰方式及执行方式调整
This commit is contained in:
juewuy
2024-01-26 22:15:31 +08:00
parent 395833f329
commit fa79806d77
4 changed files with 99 additions and 77 deletions

View File

@@ -6,7 +6,7 @@ After=network.target
Type=simple
User=shellcrash
ExecStartPre=/etc/ShellCrash/start.sh bfstart
ExecStart=/etc/ShellCrash/CrashCore run -D /etc/ShellCrash -c /tmp/ShellCrash/config.json
ExecStart=/etc/ShellCrash/CrashCore run -D /etc/ShellCrash -C /tmp/ShellCrash/jsons
ExecStartPost=/etc/ShellCrash/start.sh afstart >/dev/null &
ExecStopPost=/etc/ShellCrash/start.sh stop_firewall ; /etc/ShellCrash/start.sh unset_proxy
Restart=on-abnormal