diff options
author | Azul <azul@riseup.net> | 2014-01-06 10:24:43 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2014-02-04 11:46:57 +0100 |
commit | 87d76281eb374f4c4538fe5bf5b774b73dd5d7e3 (patch) | |
tree | 936913499080574af13b4b1c48fe6d4fd07e9cc1 /bin | |
parent | 88083a47eb042fd5b3f6cfd9cae1e087bc9fa072 (diff) |
first interesting tests
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/tapicero | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/tapicero b/bin/tapicero index f72b0db..32cc228 100755 --- a/bin/tapicero +++ b/bin/tapicero @@ -59,7 +59,6 @@ end # # Start the daemon # -require 'tapicero' # so we can use Tapicero.logger below. require 'daemons' if ENV["USER"] == "root" options = {:app_name => 'tapicero', :dir_mode => :system} # this will put the pid file in /var/run @@ -70,7 +69,6 @@ begin Daemons.run("#{BASE_DIR}/lib/tapicero_daemon.rb", options) rescue SystemExit rescue Exception => exc - Tapicero.logger.error "Uncaught exception. Daemon will die." - Tapicero.logger.error exc.class.name + ": " + exc.to_s - Tapicero.logger.error exc.backtrace.join("\n") + puts exc.class.name + exc.to_s + puts exc.backtrace.join("\n") end |