1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-07 20:41:05 -07:00
moth/packages/octopus/service/octopus/run
2012-04-19 17:40:30 -06:00

9 lines
173 B
Bash
Executable file

#! /bin/sh -e
exec 2>&1
IP=$(/opt/00admin/sbin/fire-ip add)
grep -q ipv4 /proc/cmdline && IP=::ffff:$IP
exec /opt/octopus/bin/octopus ${IP%/*} < /opt/octopus/tokens.txt