{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "stop-suricata", "type": "shell", "command": "systemctl", "args": [ "stop", "suricata" ] }, { "label": "start-suricata", "type": "shell", "command": "systemctl", "args": [ "start", "suricata" ] }, { "label": "remove-socket", "type": "shell", "command": "rm", "args": [ "-rf", "/var/lib/suricata/eve.sock" ] }, { "label": "clean-output", "type": "shell", "command": "rm", "args": [ "-rf", "${workspaceFolder}/output/parsed.log", "${workspaceFolder}/output/raw.log", "${workspaceFolder}/output/semi-parsed.log" ] }, { "label": "touch-output", "type": "shell", "command": "touch", "args": [ "${workspaceFolder}/output/parsed.log", "${workspaceFolder}/output/raw.log", "${workspaceFolder}/output/semi-parsed.log" ] }, { "label": "cleanup", "type": "shell", "command": "echo cleanup done", "dependsOrder": "sequence", "dependsOn": [ "remove-socket", ] } ] }