unattended_upgrades_ynh/conf/02periodic

27 lines
946 B
Text
Raw Normal View History

2018-02-24 21:03:40 +01:00
// Control parameters for cron jobs by /etc/cron.daily/apt //
// Enable the update/upgrade script (0=disable)
APT::Periodic::Enable "1";
// Do "apt-get update" automatically every n-days (0=disable)
APT::Periodic::Update-Package-Lists "1";
// Do "apt-get upgrade --download-only" every n-days (0=disable)
APT::Periodic::Download-Upgradeable-Packages "0";
// Run the "unattended-upgrade" security upgrade script
// every n-days (0=disabled)
// Requires the package "unattended-upgrades" and will write
// a log in /var/log/unattended-upgrades
2018-02-25 14:46:16 +01:00
APT::Periodic::Unattended-Upgrade "1";
2018-02-24 21:03:40 +01:00
// Do "apt-get autoclean" every n-days (0=disable)
APT::Periodic::AutocleanInterval "30";
// Send report mail to root
// 0: no report (or null string)
// 1: progress report (actually any string)
// 2: + command outputs (remove -qq, remove 2>/dev/null, add -d)
// 3: + trace on
APT::Periodic::Verbose "__VERBOSITY__";