-
Notifications
You must be signed in to change notification settings - Fork 29
ToDo
Ubic::Service::SimpleDaemon is good. But some people may feel more comfortable with other daemonization modules available on CPAN. So we need to implement Ubic::Service::Proc::Daemon and Ubic::Service::MooseX::Daemonize so that they could migrate easily.
Ubic needs to be really cross-platform (and platform-independent as much as possible).
Plan for porting ubic to Windows.
Global start/stop hooks, etc.
ulimit, clear_env, reload_signal
Webserver which can report service statuses and possibly allow start/stop/restart commands via html buttons as well. ubic-web will implement all these features occasionally.
Currently, if you want to extend service status code (usually to implement additional status checks), you have to use inheritance, call $self->SUPER::status (or sometimes $self->SUPER::status_impl), and merge parent's status result with your own check manually. It would be nice to be able to add these checks declaratively and reuse checks in different services (i.e., you want to restart your service if binary was modified? use Ubic::Check::Modified; want to restart your service if it leaks too much memory? use Ubic::Check::MemoryLimit; etc).
tutorials, cookbook, screencast
Stdout, stderr and ubic_log can't be rotated without restarting a service. We need something like daemontools' multilog. Either ubic-guardian process should handle it, or some other process.
We need 'ubic shutdown' command which stops all services without affecting their states.