summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33e38b5)
raw | patch | inline | side by side (parent: 33e38b5)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jan 2008 13:54:44 +0000 (13:54 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jan 2008 13:54:44 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8326 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-bus | patch | blob | history |
diff --git a/gosa-si/gosa-si-bus b/gosa-si/gosa-si-bus
index 42f6cb70c93396c26bd3c77aa7940799de4395e9..a5d50f1d2429bbd1db64e2b82ba3daeb49cdb56c 100755 (executable)
--- a/gosa-si/gosa-si-bus
+++ b/gosa-si/gosa-si-bus
daemon_log(" ", 1);
daemon_log("$0 started!", 1);
+# forward error messages to logfile
+if( ! $foreground ) {
+ open(STDERR, '>>', $log_file);
+ open(STDOUT, '>>', $log_file);
+}
+
# Just fork, if we"re not in foreground mode
if( ! $foreground ) {
chdir '/' or die "Can't chdir to /: $!";