mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-07 20:41:05 -07:00
f5d4ef25a7
This required a fair amount of shuffling stuff around, as can be seen. Fortunately, now things ought to be able to run more or less standalone again. I also figured out a way to have the build system be a tad smarter about not rebuilding shared stuff, although you still install the exact same eris binary and /service subdirs for mcp and p2. But at least you only have to change one place in the source code now.
9 lines
138 B
Bash
Executable file
9 lines
138 B
Bash
Executable file
#! /bin/sh -e
|
|
|
|
exec 2>&1
|
|
|
|
IP=$(dbip -a)
|
|
ip addr add $IP dev eth0 || true
|
|
|
|
exec tcpsvd -u nobody ${IP%/*} 1013 /opt/playfair/bin/playfair
|
|
|