summaryrefslogtreecommitdiff
path: root/files/auto-upgrades.twig
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-04-28 14:49:16 +0200
committerDaniel Weipert <code@drogueronin.de>2021-04-28 14:49:16 +0200
commit50c2fbafe6bf15909b893ddf0c862af3f7e848cb (patch)
tree72bf5479a39faedde566bc6953c2c0845e986d8d /files/auto-upgrades.twig
Initial commitv1.0.0
Diffstat (limited to 'files/auto-upgrades.twig')
-rw-r--r--files/auto-upgrades.twig25
1 files changed, 25 insertions, 0 deletions
diff --git a/files/auto-upgrades.twig b/files/auto-upgrades.twig
new file mode 100644
index 0000000..dbbf1a2
--- /dev/null
+++ b/files/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 %}