moth/packages/mcp/service/puzzled/run

15 lines
166 B
Plaintext
Raw Normal View History

2010-10-09 18:13:01 -06:00
#! /bin/sh -e
exec 2>&1
2010-10-22 09:36:28 -06:00
DB=/var/lib/ctf/puzzles.db
mkdir -p /var/www
touch $DB
chown ctf $DB
2010-09-24 22:28:40 -06:00
# Make an initial listing
./puzzled
2010-10-22 09:36:28 -06:00
exec inotifyd ./puzzled ${DB}:w