~脚本拆分后bug修复

This commit is contained in:
juewuy
2025-12-25 21:49:05 +08:00
parent a1835b7113
commit d1c9bccfbe
9 changed files with 247 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=ShellCrash Core
After=network.target
[Service]
Type=simple
User=shellcrash
StandardOutput=null
ExecStartPre=/etc/ShellCrash/starts/bfstart.sh
ExecStart=/etc/ShellCrash/CrashCore run -D /etc/ShellCrash -C /tmp/ShellCrash/jsons >/dev/null
ExecStartPost=/etc/ShellCrash/starts/afstart.sh
ExecStopPost=/etc/ShellCrash/starts/fw_stop.sh
Restart=on-abnormal
RestartSec=10s
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target