Skip to content

Commit 3083637

Browse files
committed
WIP post-Codemash
1 parent 515d0df commit 3083637

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

linux/instructions/challenge_1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ a Go binary.
1111

1212
Take note of any error messages when trying to build it, and fix any issues you
1313
find.
14+
15+
NOTE APP NEEDS TO BE CALLED `app`, NOT `main`

linux/instructions/challenge_4.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ look at the `/opt/app` directory again, you may have noticed that there is a
2424
correctly-installed app binary.
2525

2626
Once you do that, be sure to check the `systemd` and/or `journald` logs of the
27-
new `app-deb.service` to make sure it's running successfully!
27+
new `app-deb.service` to make sure it's running successfully! (and, just like
28+
the last one, that it would keep running after a reboot)

linux/instructions/challenge_5.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ number is:
2222

2323
1. *Not* `8080`
2424

25+
1. *Not* managed by the `iptables` tool.
26+
2527
Finally, you will want to figure out what firewall issue your own server has
2628
that seems to be causing problems, and fix it.

linux/scripts/linux-workshop-admin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ _score-for-challenge() {
5454
# challenges.
5555
_get-last-challenge-completed() {
5656
local last_challenge_completed
57-
last_challenge_completed="$(find /home/appuser -type f -name '*.md' | grep -E -o '[0-9]+' | sort -h | tail -n1)"
58-
max_possible_challenge_completed="$(find "${wsroot}"/instructions -type f -name '*.md' | grep -E -o '[0-9]+' | sort -h | tail -n1)"
57+
last_challenge_completed="$(find /home/appuser -type f -name 'challenge_*.md' | grep -E -o '[0-9]+' | sort -h | tail -n1)"
58+
max_possible_challenge_completed="$(find "${wsroot}"/instructions -type f -name 'challenge_*.md' | grep -E -o '[0-9]+' | sort -h | tail -n1)"
5959
if [[ -f /home/appuser/congrats.md ]] ; then
6060
last_challenge_completed="${max_possible_challenge_completed}"
6161
else

0 commit comments

Comments
 (0)