bin/eatmysoul in eatmysoul-0.1.1 vs bin/eatmysoul in eatmysoul-0.1.2

- old
+ new

@@ -30,11 +30,11 @@ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. require 'daemons' -require 'eatmysoul' +load 'lib/eatmysoul.rb' daemon_options = { :app_name => "eatmysoul", :dir_mode => (if File.writable?('/var/run') then :system else :script end), :dir => '.', @@ -44,8 +44,8 @@ } Daemons.run_proc('eatmysoul', daemon_options) do o = EatMySoul::Settings.new Signal.trap("PIPE") { EatMySoul.connect_loop o } - EatMySoul.connect_loop(o) + EatMySoul::Manager.instance.connect_loop(o) end