Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
192 |
- |
1 |
#!/bin/sh
|
|
|
2 |
|
|
|
3 |
#Set logwatch location
|
|
|
4 |
LOGWATCH_SCRIPT="/usr/sbin/logwatch"
|
|
|
5 |
#Add options to this line. Most options should be defined in /etc/logwatch/conf/logwatch.conf,
|
|
|
6 |
#but some are only for the nightly cronrun such as --output mail and should be set here.
|
|
|
7 |
#Other options to consider might be "--format html" or "--encode base64", man logwatch for more details.
|
|
|
8 |
OPTIONS="--output mail"
|
|
|
9 |
|
|
|
10 |
#Call logwatch
|
|
|
11 |
$LOGWATCH_SCRIPT $OPTIONS
|
|
|
12 |
|
|
|
13 |
exit 0
|