~重写本机代理部分逻辑,修复相关死循环bug ~安装时现在默认会自动清理多余的旧目录 ~现在在linux设备上默认使用保守模式而不是systemd ~singbox默认启用sniff以匹配规则,但不会覆写域名 ~修复使用systemd启动时,无法正确配置防火墙的bug ~修复在线生成时导入包含@符号的链接时,无法正确转换的bug ~修复singbox对ipv6-tun模式的支持
19 lines
477 B
Desktop File
19 lines
477 B
Desktop File
[Unit]
|
|
Description=ShellCrash Core
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=shellcrash
|
|
ExecStartPre=/etc/ShellCrash/start.sh bfstart
|
|
ExecStart=/etc/ShellCrash/CrashCore run -D /etc/ShellCrash -c /tmp/ShellCrash/config.json
|
|
ExecStartPost=/etc/ShellCrash/start.sh afstart >/dev/null &
|
|
ExecStopPost=/etc/ShellCrash/start.sh stop_firewall ; /etc/ShellCrash/start.sh unset_proxy
|
|
Restart=on-abnormal
|
|
RestartSec=10s
|
|
LimitNOFILE=infinity
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|