mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 16:01:28 +00:00
20 lines
447 B
Desktop File
20 lines
447 B
Desktop File
[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
|