Skip to content

Commit

Permalink
dojo script changes: log all the pwn.college* services, sleep before …
Browse files Browse the repository at this point in the history
…wait
  • Loading branch information
zardus committed Oct 27, 2024
1 parent 94fe39a commit 50cf5d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dojo/dojo
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ case "$ACTION" in

# HELP: logs: display dojo logs
"logs")
journalctl -u pwn.college -f --no-tail
journalctl -u pwn.college.* -f --no-tail
;;

# HELP: wait: wait for the dojo to finish starting
"wait")
sleep 10
dojo logs | while IFS= read -r line; do
echo "$line"
case "$line" in
Expand Down

0 comments on commit 50cf5d7

Please sign in to comment.