mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-15 19:22:54 +08:00
00f10b81f9
~修复首次使用6-2时倒入失败的bug ~尝试修复部分设备因ipv6导致的dns劫持失败的问题
19 lines
469 B
Desktop File
19 lines
469 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 >/dev/null
|
|
ExecStartPost=/etc/ShellCrash/start.sh afstart
|
|
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
|