mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
21 lines
466 B
Desktop File
21 lines
466 B
Desktop File
[Unit]
|
|
Description=ShellCrash Core
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=shellcrash
|
|
User=shellcrash
|
|
StandardOutput=null
|
|
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
|
|
Restart=on-abnormal
|
|
RestartSec=10s
|
|
LimitNOFILE=infinity
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|