Files
pspy/docker/entrypoint-development.sh
2018-02-18 14:03:59 +01:00

14 lines
184 B
Bash

#!/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 "[+] Dropping into shell..."
exec /bin/bash