1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-07 12:30:47 -07:00
moth/mcp/service/tokend/run
2010-10-22 09:36:28 -06:00

10 lines
166 B
Bash
Executable file

#! /bin/sh
exec 2>&1
for fn in /var/lib/ctf/tokens.db /var/lib/ctf/claim.db; do
touch $fn
chown ctf $fn
done
exec tcpsvd -u ctf 0 1 /opt/mcp/bin/in.tokend