Is it possible to write a upstart job containing both normal job and instance job?

NoOp glgxg at sbcglobal.net
Thu Jan 10 19:48:07 UTC 2013


On 01/08/2013 01:47 AM, Magicloud Magiclouds wrote:
> Hi,
>   For example, I have a few virtual machines. When the system started, I'd
> like them all to be started. But also I could control them individually. So
> I am thinking something like:
> 
> # start vm # all would be started
> # stop vm NAME=centos # only vm named centos would be stopped
> 
>   Although I could use a bunch of jobs like vms.conf, centos.conf. But this
> would be a mess to manage and deploy. vms.conf and vm.conf (instances) is
> acceptable. But could it be better?

No idea, but perhaps these will be of help:
<https://help.ubuntu.com/community/UpstartHowto>
<http://upstart.ubuntu.com/cookbook/>







More information about the ubuntu-users mailing list