I'm thinking we just have separate upstarts per agent type, and multiples for a unit. we could explore upstart instances functionality.
Each of the upstart jobs for agents would be marked 'manual' with a 'respawn' stanza.
as an example..
cat /etc/init/ensemble-test.conf # tester - The magic sleep description "Testing Sleep" manual respawn exec sleep 60
I'm thinking we just have separate upstarts per agent type, and multiples for a unit. we could explore upstart instances functionality.
Each of the upstart jobs for agents would be marked 'manual' with a 'respawn' stanza.
as an example..
cat /etc/init/ ensemble- test.conf
# tester - The magic sleep
description "Testing Sleep"
manual
respawn
exec sleep 60