diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-04-20 12:43:20 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-04-20 12:43:20 +0200 |
commit | a9a428462acb8aecc4c335027d552a30bb7c49b5 (patch) | |
tree | b3c4eaf9bcc00aefd39783b6bba17607196c2177 /src/unattended-upgrades/auto-upgrades.twig |
Initial commit
Diffstat (limited to 'src/unattended-upgrades/auto-upgrades.twig')
-rw-r--r-- | src/unattended-upgrades/auto-upgrades.twig | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/unattended-upgrades/auto-upgrades.twig b/src/unattended-upgrades/auto-upgrades.twig new file mode 100644 index 0000000..388a028 --- /dev/null +++ b/src/unattended-upgrades/auto-upgrades.twig @@ -0,0 +1,25 @@ +APT::Periodic::Unattended-Upgrade "1"; + +{% if unattended_update_package_list is defined %} +APT::Periodic::Update-Package-Lists "{{unattended_update_package_list}}"; +{% endif %} + +{% if unattended_download_upgradeable is defined %} +APT::Periodic::Download-Upgradeable-Packages "{{unattended_download_upgradeable}}"; +{% endif %} + +{% if unattended_autoclean_interval is defined %} +APT::Periodic::AutocleanInterval "{{unattended_autoclean_interval}}"; +{% endif %} + +{% if unattended_clean_interval is defined %} +APT::Periodic::CleanInterval "{{unattended_clean_interval}}"; +{% endif %} + +{% if unattended_verbose is defined %} +APT::Periodic::Verbose "{{unattended_verbose}}"; +{% endif %} + +{% if unattended_random_sleep is defined %} +APT::Periodic::RandomSleep "{{unattended_random_sleep}}"; +{% endif %} |