- Starts a new server using a Stackscript
- Stackscript logs to a file
- Stackscript log is passed back to the user via nats
- Stackscript status and log are copied via scp
> go run scp-demo/*.go
nats -s this-is-nats.appscode.ninja --user=$THIS_IS_NATS_USERNAME --password=$THIS_IS_NATS_PASSWORD sub stackscript-log
./script.sh
SHIPPER_FILE=/tmp/stackscript.log \
SHIPPER_SUBJECT=stackscript-log \
go run nats-logger/main.go
nats -s this-is-nats.appscode.ninja --user=$THIS_IS_NATS_USERNAME --password=$THIS_IS_NATS_PASSWORD sub stackscript-log
nats -s this-is-nats.appscode.ninja --user=$THIS_IS_NATS_USERNAME --password=$THIS_IS_NATS_PASSWORD pub hello tamal