mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 19:55:57 +08:00
f96a6a1dd0
适配singbox内核加载本机hosts功能 debug菜单增加singbox配置文件合并功能 优化singbox内核dns及dns生成逻辑 优化json文件切割方式 优化ip6tables模块检测方式
19 lines
471 B
Desktop File
19 lines
471 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/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
|
|
RestartSec=10s
|
|
LimitNOFILE=infinity
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|