moth/packages/mcp/service/puzzled/run

16 lines
194 B
Plaintext
Raw Normal View History

2010-10-09 18:13:01 -06:00
#! /bin/sh -e
exec 2>&1
install -d /var/www
2011-09-23 16:04:25 -06:00
# Install truncates files
DB=/var/lib/ctf/puzzles.db
2010-10-22 09:36:28 -06:00
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