Skip to content

Instantly share code, notes, and snippets.

@berekuk
Created May 30, 2012 00:52
Show Gist options
  • Select an option

  • Save berekuk/2831864 to your computer and use it in GitHub Desktop.

Select an option

Save berekuk/2831864 to your computer and use it in GitHub Desktop.
Assuming there's one service foo which got installed to /etc/ubic/service/foo.ini.
$ cd foo
$ ./monger ubic start # ubic start foo
I think you should just proxy (start|stop|status|...) to ubic in this case.
Now the more complicated example.
Let's assume your app contains multiple services: foo.first, foo.second, foo.third.
$ ./monger ubic start # the same, ubic start foo - it will start all foo.* subservices
$ ./monger ubic restart first # restart just foo.first
@alnewkirk
Copy link
Copy Markdown

this is exactly the direction im headed in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment