moth/packages/octopus/service/octopus-redirect/run

6 lines
122 B
Plaintext
Raw Normal View History

2011-02-03 07:34:12 -07:00
#! /bin/sh -e
IP=$(cat ../octopus/ip.txt)
sv s octopus >/dev/null || exit 1
exec tcpsvd ${IP#/*} 8888 ./octopus-redirect