parent
4b7d3586d5
commit
3f165421d4
2 changed files with 31 additions and 0 deletions
@ -0,0 +1,21 @@ |
||||
{ |
||||
|
||||
my $status = $sogod{'status'} || 'enabled'; |
||||
return "" if ($status ne 'enabled'); |
||||
my @ports = (); |
||||
push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80'); |
||||
push @ports, ($modSSL{'TCPPort'} || '443'); |
||||
my $port = join (",", @ports); |
||||
|
||||
$OUT .=<<"EOF"; |
||||
|
||||
[sogo] |
||||
enabled = true |
||||
filter = sogo |
||||
port = $port |
||||
protocol = tcp |
||||
name = sogo |
||||
logpath = /var/log/sogo/sogo.log |
||||
EOF |
||||
|
||||
} |
@ -0,0 +1,10 @@ |
||||
[INCLUDES] |
||||
before = common.conf |
||||
|
||||
[Definition] |
||||
|
||||
_daemon = sogod |
||||
|
||||
failregex = %(__prefix_line)s\s*SOGoRootPage Login from '<HOST>' for user '.*' might not have worked \-.* |
||||
|
||||
ignoreregex = |
Loading…
Reference in new issue