Skip to content

Instantly share code, notes, and snippets.

@tblobaum tblobaum/fleet.json Secret
Created May 15, 2012

Embed
What would you like to do?
{
"remote": {
"default": {
"hub": "localhost:1024",
"secret": "beepboop"
}
},
"brigade": {
"services": [
[ "node", "service-api" ],
[ "node", "service-worker" ]
]
}
}
[tom@dev test]$ fleet ps
drone#7b8f5383
drone#158a3ee3
[tom@dev test]$ fleet spawn --brigade=services
(spawned 7b8f5383#a7cc9e)
(spawned 7b8f5383#59b144)
[tom@dev test]$ fleet ps
drone#7b8f5383
├─┬ pid#a7cc9e
│ ├── status: respawning
│ ├── commit: test/832de9fcdc623675732bb8025bb9b16fdf7e99d0
│ └── command: node service-api
└─┬ pid#59b144
├── status: running
├── commit: test/832de9fcdc623675732bb8025bb9b16fdf7e99d0
└── command: node service-worker
drone#158a3ee3
[tom@dev test]$ fleet stop all
[7b8f5383] stopped a7cc9e 59b144
[158a3ee3] stopped
[tom@dev test]$ fleet ps
drone#7b8f5383
drone#158a3ee3
[tom@dev test]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.