| 1 |
# Defaults for aptitude-robot initscript |
| 2 |
# sourced by /etc/init.d/aptitude-robot and /usr/sbin/aptitude-robot-session |
| 3 |
# installed at /etc/default/aptitude-robot by the maintainer scripts |
| 4 |
|
| 5 |
# |
| 6 |
# This is a POSIX shell fragment |
| 7 |
# |
| 8 |
|
| 9 |
# set to "no" to prevent the daily cron run |
| 10 |
RUN_DAILY=yes |
| 11 |
# if set, delay daily cron by a random number of seconds |
| 12 |
# where MAX_RANDOM_DELAY_SECONDS is the maximum delay |
| 13 |
MAX_RANDOM_DELAY_SECONDS=900 |
| 14 |
# set to "no" to prevent the init run at boot time |
| 15 |
RUN_ON_BOOT=yes |
| 16 |
|
| 17 |
# location for the session log (will be deleted after aptitude-robot has ended) |
| 18 |
LOG_SESSION=/var/log/aptitude-robot-session.log |
| 19 |
# log file to keep the output of aptitude-robot |
| 20 |
# this should be kept in sync with /etc/logrotate.d/aptitude-robot |
| 21 |
LOGFILE=/var/log/aptitude-robot.log |
| 22 |
|
| 23 |
# limit the size of files written to stop infinite loops |
| 24 |
MAX_LOGFILES_SIZE_BLOCKS=1000000 |
| 25 |
|
| 26 |
# (optional) command to process the session log |
| 27 |
#SESSION_REPORT_COMMAND=/usr/share/aptitude-robot/mail-log-on-error |
| 28 |
#SESSION_REPORT_COMMAND=/usr/share/aptitude-robot/xymon-report |
| 29 |
SESSION_REPORT_COMMAND= |
| 30 |
|
| 31 |
# (optional) Don't pass through exit code to cron job |
| 32 |
# |
| 33 |
# Helpful if you want to silence mails by cron about |
| 34 |
# aptitude-robot-session not having exited with return code 0. |
| 35 |
# |
| 36 |
# Be sure to enable some kind of reporting with other methods if you |
| 37 |
# use this. This is usually done via the SESSION_REPORT_COMMAND above. |
| 38 |
# |
| 39 |
# Set to "yes" if you don't want mails by cron if |
| 40 |
# aptitude-robot-session exited with exit code not equal zero. |
| 41 |
SUPPRESS_CRON_MAILS=no |
| 42 |
|
| 43 |
# command to run at the end of aptitude-robot-session |
| 44 |
#POST_SESSION_HOOK="apt-get clean" |
| 45 |
POST_SESSION_HOOK= |