moth/packages/playfair/service/playfair/run

10 lines
160 B
Bash
Executable File

#! /bin/sh -e
exec 2>&1
IP=$(/opt/00admin/sbin/fire-ip add)
ip addr add $IP dev eth0 || true
exec tcpsvd -u nobody ${IP%/*} 1013 /opt/playfair/bin/playfair