moth/mcp/service/puzzled/run

12 lines
191 B
Plaintext
Raw Normal View History

2010-10-09 18:13:01 -06:00
#! /bin/sh -e
exec 2>&1
install -o ctf -m 0644 /dev/null /var/lib/ctf/puzzles.db
2010-10-09 18:13:01 -06:00
install -d /var/www
2010-09-24 22:28:40 -06:00
# Make an initial listing
./puzzled
exec inotifyd ./puzzled /var/lib/ctf/puzzles.db:w