moth/packages/mcp/service/tokend/run

11 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