1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-07 04:20:39 -07:00
moth/mcp/service/puzzled/run
2010-10-09 18:13:01 -06:00

11 lines
191 B
Bash
Executable file

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