Merge remote-tracking branch 'origin/develop' into server-as-subcommand

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-06-05 10:15:35 +02:00
14 changed files with 311 additions and 90 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
# limitations under the License.
#
kapow route add /list/files -c 'ls -la $(request /param/path) | response /body'
kapow route add /list/files -c 'ls -la $(request /params/path) | response /body'
kapow route add /list/processes -c 'ps -aux | response /body'
@@ -31,11 +31,11 @@ kapow route add /show/connections -c 'ss -pluton | response /body'
kapow route add /show/mounts -c 'mount | response /body'
kapow route add /tail/dmesg - <<-'EOF'
response /header/Content-Type text/plain
response /headers/Content-Type text/plain
dmesg -w | response /stream
EOF
kapow route add /tail/journal - <<-'EOF'
response /header/Content-Type text/plain
response /headers/Content-Type text/plain
journalctl -f | response /stream
EOF