bin/pushyd in pushyd-0.2.4 vs bin/pushyd in pushyd-0.3.0
- old
+ new
@@ -37,12 +37,11 @@
# Display final configuration
puts "--- #{Conf.name} #{Conf.version}"
puts "Environment \t #{Conf.env}"
puts "Config files \t #{Conf.files}"
- puts
- puts "Log file \t #{Conf[:log]}"
+ puts "Loging to file \t #{Conf[:log]}"
puts Conf.dump if cmd_dump
rescue OptionParser::InvalidOption => e
abort "EXITING: option parser: #{e.message}"
rescue PushyDaemon::ConfigParseError => e
@@ -53,20 +52,17 @@
# Run daemon
run_options = {
ontop: false,
- # :dir_mode => :normal,
- # :dir => File.join(root, 'amine.log'),
- # :log_output => true,
:backtrace => true,
:multiple => false
}
Daemons.run_proc('pushy-daemon', run_options) do
# Load code
puts "--- loading code"
require_relative "../lib/pushyd"
# Start daemon
- puts "--- starting"
+ puts "--- starting daemon"
PushyDaemon::Daemon.run
end