${$main::{$_}} = $ENV{"USERV_U_$_"}
for grep s/^USERV_U_//, keys %ENV;
-openlog 'userv-$service', 'pid', 'daemon';
+openlog "userv-$service", 'pid', 'daemon';
sub fail { syslog 'err', "$client @_"; exit }
$_ = our $uri;
if $check_repo and $repo !~ /^[0-9A-Za-z._-]+[.]git$/;
fail "repository not exported for $uri"
if $check_export and not -e "$dir/git-daemon-export-ok";
+syslog 'info', "$client $dir";
my @cmd = ($service, '--strict', '--timeout=30', $dir);
no warnings; # suppress errors to stderr