PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/cron-apt/config

http://github.com/brinkman83/bashrc
#! | 176 lines | 144 code | 32 blank | 0 comment | 0 complexity | b9cce25f13f5f740c843f944e7dcbbb1 MD5 | raw file
  1# Configuration for cron-apt.
  2# The cron config is located in /etc/cron.d/cron-apt
  3# This shows the defaults.
  4#
  5
  6# The command used to execute all actions.  By default, apt-get is used.
  7# Change this to /usr/bin/aptitude to use aptitude instead, which will
  8# resolve changed Recommends (and Suggests as well, if aptitude is so
  9# configured). You can also set other utilities (especially useful in the
 10# config.d directory) so set some completely different tool.
 11# OBSERVE that this tool is indended for apt-get and tools like aptitude do not
 12# have full support for noninteractive upgrades. You may have to tune options
 13# to not create infinit logfiles for example.
 14# APTCOMMAND=/usr/bin/apt-get
 15# APTCOMMAND=/usr/bin/aptitude
 16# APTCOMMAND=/usr/bin/apt-file
 17
 18# A path is needed for this to work. This is the default PATH.
 19# export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
 20
 21# The random sleep time in seconds. This is used to prevent clients from
 22# accessing the APT sources all at the same time and overwhelming them.
 23# Default is 3600 seconds which means one hour.
 24# RUNSLEEP=3600
 25
 26# The minimum amount of disc space (in kB) that need to exist on the
 27# device where temporary files are created (mktemp) to allow cron-apt
 28# to run. If set to 0 it will always continue even if empty.
 29# MINTMPDIRSIZE=10
 30
 31# The directory where the actions is stored.
 32# ACTIONDIR="/etc/cron-apt/action.d"
 33
 34# The directory where configuration per action is stored. The message file
 35# must have the same name as the action file.
 36# ACTIONCONFDIR="/etc/cron-apt/config.d"
 37
 38# The directory where messages that will be prepended to the email that is
 39# sent (per action) is stored. The message file must have the same name as
 40# the action file.
 41# MAILMSGDIR="/etc/cron-apt/mailmsg.d"
 42
 43# The directory where messages that will be prepended to text that is
 44# sent (per action) to syslog. The message file must have the same name as
 45# the action file.
 46# SYSLOGMSGDIR="/etc/cron-apt/syslogmsg.d"
 47
 48# The directory where messages that will be prepended to the error message
 49# (per action) is stored. The message file must have the same name as
 50# the action file.
 51# ERRORMSGDIR="/etc/cron-apt/errormsg.d"
 52
 53# The directory where messages that will be prepended to the log (debug)
 54# message (per action) is stored. The message file must have the same name as
 55# the action file.
 56# LOGMSGDIR="/etc/cron-apt/logmsg.d"
 57
 58# The directory where messages that will be prepended to the mail message
 59# (per MAILON type) is stored. The message file must have the same name as
 60# the $MAILON directive.
 61# MAILONMSGSDIR="/etc/cron-apt/mailonmsgs"
 62
 63# The directory where messages that will be prepended to the syslog message
 64# (per SYSLOGON type) is stored. The message file must have the same name as
 65# the $SYSLOGON directive.
 66# SYSLOGONMSGSDIR="/etc/cron-apt/syslogonmsgs"
 67
 68# Value: ""       (warn if dotlockfile not installed)
 69#        "nowarn" (don't give warning if dotlockfile not installed)
 70# NOLOCKWARN=""
 71
 72# The file that contains error messages.
 73# ERROR="/var/log/cron-apt/error"
 74
 75# The file that contains current run information
 76# when still running the script.
 77# TEMP="/var/log/cron-apt/temp"
 78
 79# The logfile (for debugging). Use syslog for normal logging.
 80# LOG="/var/log/cron-apt/log"
 81
 82# The mail file.
 83# MAIL="/var/log/cron-apt/mail"
 84
 85# The email address to send mail to.
 86# MAILTO="root"
 87
 88# When to send email about the cron-apt results.
 89# Value: error   (send mail on error runs)
 90#	 upgrade (when packages are upgraded)
 91#	 changes (mail when change in output from an action)
 92#	 output  (send mail when output is generated)
 93#        always  (always send mail)
 94#                (else never send mail)
 95# MAILON="error"
 96
 97# Value: error   (syslog on error runs)
 98#	 upgrade (when packages is upgraded)
 99#	 changes (syslog when change in output from an action)
100#	 output  (syslog when output is generated)
101#        always  (always syslog)
102#                (else never syslog)
103# SYSLOGON="upgrade"
104
105# Value: error   (exit on error only)
106#                (else never exit)
107# EXITON="error"
108
109# Value: verbose (log everything)
110#        always  (always log)
111#	 upgrade (when packages is upgraded)
112#	 changes (log when change in output from an action)
113#	 output  (log when output is generated)
114#        error   (log error runs only)
115#                (else log nothing)
116# DEBUG="output"
117
118# What to do with the diff when *ON=changes.
119# Value: prepend (prepend to the output)
120#        append  (append to the output)
121#	 only	 (only show the diff, not the output itself)
122#                (else do nothing)
123# DIFFONCHANGES=prepend
124
125# General apt options that will be passed to all APTCOMMAND calls.
126# Use "-o quiet" instead of "-q" for aptitude compatibility.
127#  OPTIONS="-o quiet=1"
128# You can for example add an additional sources.list file here.
129#  OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/security.sources.list"
130# You can also set an alternative sources.list file here.
131#  OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/security.sources.list -o Dir::Etc::SourceParts=\"/dev/null\""
132# If you want to allow unauthenticated and untrusted packages add the
133# following to your options directive.
134#  OPTIONS="-o quiet=1 -o APT::Get::AllowUnauthenticated=true -o aptitude::Cmdline::ignore-trust-violations=yes"
135# To limit the bandwidth used use the following line. This example limit the
136# bandwidth usage to 25 kB/s.
137OPTIONS="-o Acquire::http::Dl-Limit=25"
138
139# additional APT configuration file that is loaded first. This can be set in
140# order to use a completely different APT configuration for cron-apt. See the
141# /usr/share/doc/cron-apt/README and apt.conf(5) for details
142# export APT_CONFIG=/etc/apt/cron.apt.paths
143
144# Do not run the command, if there is an error in the previous run (default).
145# Value: error   (do not run if there is an error on last run)
146#                (else always run, remove previous error file and run)
147# DONTRUN=""
148
149# If this file exist cron-apt will silently exit.
150# REFRAINFILE=/etc/cron-apt/refrain
151
152# If this is non-empty, it will be used as the host name in subjects of
153# generated e-mail messages. If this is empty, the output of uname -n
154# will be used.
155# HOSTNAME=""
156
157# Ignore lines matching this regexp to determine whether changes occurred
158# for MAILON="changes". If empty no lines will be ignored.
159# Suggested value for aptitude:
160#  DIFFIGNORE="^\(Get:[[:digit:]]\+\|Hit\|Ign\|Del\|Fetched\|Freed\|Reading\)[[:space:]]"
161
162# Suggested value for apt-get:
163#  DIFFIGNORE="^\(Get:[[:digit:]]\+\|Hit\|Ign\)[[:space:]]"
164# Default:
165#  DIFFIGNORE=""
166
167# Support for mail headers. You can add up to 9 headers to the mail sent.
168# This below example can be used for OTRS.
169# The default is no headers added.
170# XHEADER1="X-OTRS-Queue: updates"
171# XHEADER2="X-OTRS-Loop: true"
172# ...
173
174# Umask for the files created by the APT command used. In all other cases
175# umask 077 will be used.
176# UMASK_APT="022"