Skip to content

Commit

Permalink
Merge pull request #1 from bibendi/master
Browse files Browse the repository at this point in the history
Log reopen
  • Loading branch information
bibendi committed Dec 16, 2013
2 parents b26115b + e0efbb8 commit bb56c67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/god/cli/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def run_in_front
def run_daemonized
# trap and ignore SIGHUP
Signal.trap('HUP') {}
# trap and log-reopen SIGUSR1
Signal.trap('USR1') { setup_logging }

pid = fork do
begin
Expand Down

0 comments on commit bb56c67

Please sign in to comment.