build proper dockerized example

This commit is contained in:
Dominic Breuker
2018-02-18 14:03:59 +01:00
parent a31224ff21
commit c56430d8c4
13 changed files with 111 additions and 32 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
sudo cron -f &
sleep 1
sudo ps | grep cron 1>/dev/null
echo "[+] cron started"
echo "[+] Running as user `id`"
echo "[+] Starting pspy now..."
pspy 2>/dev/null