ShellCrash/scripts/shellcrash.service

18 lines
425 B
SYSTEMD
Raw Normal View History

[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