Permalink
Browse files

We don't want any messages coming out when starting the daemon

  • Loading branch information...
Randy Schmidt
Randy Schmidt committed Jul 25, 2008
1 parent 3bc25a5 commit 548fd76112e518de4e49aa2c86c7870fa9fd9ec2
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/fetcher_daemon/templates/daemon.rb
@@ -49,7 +49,7 @@ def self.start(daemon)
Dir.chdir WorkingDirectory
File.umask 0000
STDIN.reopen "/dev/null"
- #STDOUT.reopen "/dev/null", "a"
+ STDOUT.reopen "/dev/null", "a"
STDERR.reopen STDOUT
trap("TERM") {daemon.stop; exit}
daemon.start

0 comments on commit 548fd76

Please sign in to comment.