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