moth/mcp/service/puzzled/run

11 lines
168 B
Bash
Executable File

#! /bin/sh
exec 2>&1
install -o ctf -m 0644 /dev/null /var/lib/ctf/puzzles.db
# Make an initial listing
./puzzled
exec inotifyd ./puzzled /var/lib/ctf/puzzles.db:w