aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-06-29 23:20:50 +0100
committerRobin Houston <robin@lenny.robin>2011-06-29 23:20:50 +0100
commitf1b6444b5c8a7af39f20411b0db63a4fea4d7819 (patch)
treee898f98c04057403f57b9721898fc8506f919334 /script
parentfd27c8f2e0170fec22c78cf5e3dafa7e3fb3fa58 (diff)
Hand the logfile opening over to the runner, rather than the start script.
Diffstat (limited to 'script')
-rwxr-xr-xscript/runner1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/runner b/script/runner
index 8cb4ec9d1..5a5254c47 100755
--- a/script/runner
+++ b/script/runner
@@ -15,6 +15,7 @@ Dir.chdir(alaveteli_dir) do
if ENV.has_key? "LOGFILE"
STDERR.reopen(STDOUT.reopen(ENV["LOGFILE"], "a"))
STDOUT.sync=true
+ puts "Daemon starting at #{Time.new}"
end
# Load the runner in a subprocess