h2. DESCRIPTION Simple "runit":http://smarden.org/runit/ web management tool with i18n. Server will run by @runit-man@ script. Take a note that @runit-man@ must have privileges like @runsvdir@ ones. h2. REST API h3. Get state You can read current state of services in "JSON format":http://www.json.org/ using @GET /services.json@ h3. Management You can manage your services using @POST /service name/command@ Supported commands: up, down, restart, switch_up (activates service), switch_down (deactivates service). You can also send any signal to service using @POST /service name/signal/<signal>@ h3. Read logs You can read tail of service log using @GET /service name/log/count_of_lines.txt@ Note that to use this feature You must do logging using @svlogd options log_directory_location@
Gemfile gem 'runit-man', '~> 1.4.8'
install gem install runit-man -v 1.4.8