unattended_upgrades_ynh/config_panel.toml

81 lines
2.7 KiB
TOML
Raw Normal View History

2021-11-28 16:20:35 +01:00
version = "1.0"
2020-04-23 20:43:03 +02:00
name = "Unattended-upgrades configuration panel"
[main]
name = "Unattended-upgrades configuration"
[main.unattended_configuration]
name = "50unattended-upgrades configuration file"
[main.unattended_configuration.upgrade_level]
ask = "Choose the sources of packages to automatically upgrade."
choices = ["Security only", "Security and updates"]
default = "Security only"
[main.unattended_configuration.ynh_update]
2021-07-17 17:07:13 +02:00
ask = "Would you like to update YunoHost packages automatically?"
2020-04-23 20:43:03 +02:00
type = "boolean"
default = true
[main.unattended_configuration.unattended_mail]
2021-07-17 17:07:13 +02:00
ask = "Would you like to receive an email from Unattended-Upgrades?"
2020-04-23 20:43:03 +02:00
choices = ["If an upgrade has been done", "Only if there was an error", "Never"]
default = "If an upgrade has been done"
[main.apticron_configuration]
name = "apticron cron file"
[main.apticron_configuration.previous_apticron]
2021-07-17 17:07:13 +02:00
ask = "Would you like to receive an email to inform which upgrades need to be done?"
2020-04-23 20:43:03 +02:00
type = "boolean"
default = true
[main.apticron_configuration.previous_apticron_hour]
ask = "When do you want to receive this email ?"
type = "number"
default = "20"
help = "Choose an hour between 12 and 23."
[main.apticron_configuration.after_apticron]
2021-07-17 17:07:13 +02:00
ask = "Would you like to receive an email to verify if there any upgrades left after each auto upgrade?"
2020-04-23 20:43:03 +02:00
type = "boolean"
default = true
[main.apticron_configuration.after_apticron_hour]
2021-07-17 17:07:13 +02:00
ask = "When do you want to receive this email?"
2020-04-23 20:43:03 +02:00
type = "number"
default = "2"
help = "Choose an hour between 0 and 10."
[main.periodic_configuration]
name = "02periodic apt config file"
[main.periodic_configuration.unattended_verbosity]
ask = "Choose the level of verbosity of Unattended-Upgrades mail."
choices = ["1", "2", "3"]
default = "1"
help = "1: Progress report only.<br>2: Progress report and command outputs.<br>3: Progress report and command outputs and trace."
[main.overwrite_files]
name = "Overwriting config files"
[main.overwrite_files.overwrite_periodic]
2021-07-17 17:07:13 +02:00
ask = "Overwrite the config file 02periodic?"
2020-04-23 20:43:03 +02:00
type = "boolean"
default = true
help = "If the file is overwritten, a backup will be created."
[main.global_config]
name = "Global configuration"
[main.global_config.email_type]
2021-07-17 17:07:13 +02:00
ask = "Send HTML email to admin?"
2020-04-23 20:43:03 +02:00
type = "boolean"
default = true
help = "Allow app scripts to send HTML mails instead of plain text."