Files
kapow/examples/basic/02_FixLogGrep/FixLogGrep.pow
Roberto Abdelkader Martínez Pérez 22e9fc9f8e Add shebang to examples
2020-02-01 00:17:29 +01:00

6 lines
146 B
Bash
Executable File

#!/bin/sh
kapow route add /apache-errors - <<-'EOF'
cat /var/log/apache2/access.log | grep 'File does not exist' | kapow set /response/body
EOF