Skip to content

Commit

Permalink
Rename runit-man.rb to runit-man, READMORE to INSTALL.
Browse files Browse the repository at this point in the history
  • Loading branch information
akzhan committed Feb 18, 2010
1 parent 0f8b127 commit bb7a5e3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
7 changes: 6 additions & 1 deletion READMORE → INSTALL
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Take a look at runit-man.rb script options:
You need ruby 1.8.7 or above and rubygems installed.

Use following command to install runit-man:
gem install runit-man

Take a look at runit-man script options:

-p - Port to listen (4567 by default)
-b - IP Address to bind (0.0.0.0 by default)
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Simple runit (http://smarden.org/runit/) web management tool with i18n.

Server will run by runit-man.rb script.
Server will run by runit-man script.
5 changes: 2 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ spec = Gem::Specification.new do |s|
s.author = 'Akzhan Abdulin'
s.email = 'akzhan.abdulin@gmail.com'
s.homepage = 'http://github.com/akzhan/runit-man'
s.version = "1.4.1"
s.version = "1.4.2"
s.requirements << 'none'
s.require_path = 'lib'
s.files = FileList["{bin,lib,public,views,i18n,sv}/**/*"].to_a
s.executables << 'runit-man.rb'
s.add_dependency 'json'
s.executables << 'runit-man'
s.add_dependency 'erubis'
s.add_dependency 'sinatra'
s.add_dependency 'sinatra-content-for'
Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion local-run.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env ruby

require 'rubygems'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
require File.join(File.dirname(__FILE__), 'bin', 'runit-man')

require 'runit-man/runner'
2 changes: 1 addition & 1 deletion sv/run.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
exec 2>&1
exec runit-man.rb<% if server.kind_of?(String) %> -s "<%= server %>"<% end %><% if bind %> -b <%= bind %><% end %> -p <%= port %> -a "<%= active_services_directory %>" -f "<%= all_services_directory %>"
exec runit-man<% if server.kind_of?(String) %> -s "<%= server %>"<% end %><% if bind %> -b <%= bind %><% end %> -p <%= port %> -a "<%= active_services_directory %>" -f "<%= all_services_directory %>"

0 comments on commit bb7a5e3

Please sign in to comment.