mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
1a14d3f8e2
~优化iptables及nftables的模块检测机制 ~修复本机代理相关的一系列问题 ~修复保守模式启动报错 ~修复首次启动时定时任务提示找不到用户的bug ~修复自定义singbox配置文件功能导致的若干报错 ~修复systemd启动时的若干问题 ~修复保守模式启动时将信息输出到ssh中的bug
18 lines
425 B
Desktop File
18 lines
425 B
Desktop File
[Unit]
|
|
Description=ShellCrash Core
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=shellcrash
|
|
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
|