guide/blueprints/example_yaml/vanilla-bash-netcat-file.yaml (11 lines of code) (raw):
name: Simple Netcat Example From File
location: localhost
services:
- type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess
name: Simple Netcat Server
brooklyn.config:
download.url: file:///tmp/netcat-server.tgz
launch.command: |
chmod +x start.sh
./start.sh &
echo $! > $PID_FILE