diff --git a/clusterd/clusterd b/clusterd/clusterd index 974a9801..909ea335 100755 --- a/clusterd/clusterd +++ b/clusterd/clusterd @@ -5,7 +5,7 @@ use strict; # https://github.molgen.mpg.de/donald/clusterd -our $REVISION='1.102'; +our $REVISION='1.103'; #use lib ('/home/buczek/cluster/Donald/blib/lib'); @@ -1437,6 +1437,7 @@ if (defined $options{'push'}) { if ($options{'syslog'} or not $options{'foreground'}) { openlog('clusterd','pid','daemon'); + Sys::Syslog::setlogsock('unix'); # with 'native' we get EOLs in the logfile, option "noeol" doesn't work $SIG{__WARN__} = sub { syslog('warning',@_); }; $SIG{__DIE__} = sub { syslog('crit',@_);syslog('crit','exiting');exit 1;}; open (STDOUT,'>','/dev/null');