unattended_upgrades_ynh/actions.toml

27 lines
1.2 KiB
TOML
Raw Normal View History

2020-04-23 20:43:03 +02:00
[reset_default_unattended]
name = "Reset the 50unattended-upgrades config file and restore a default one."
2024-01-09 18:07:57 +01:00
command = "/bin/bash scripts/actions/reapply_config \"50unattended-upgrades\""
2020-04-23 20:43:03 +02:00
# user = "root" # optional
# cwd = "/" # optional
# accepted_return_codes = [0, 1, 2, 3] # optional
accepted_return_codes = [0]
description = "Reset the unattended-upgrades config file 50unattended-upgrades."
[reset_default_periodic]
name = "Reset the 02periodic apt config file and restore a default one."
2024-01-09 18:07:57 +01:00
command = "/bin/bash scripts/actions/reapply_config \"02periodic\""
2020-04-23 20:43:03 +02:00
# user = "root" # optional
# cwd = "/" # optional
# accepted_return_codes = [0, 1, 2, 3] # optional
accepted_return_codes = [0]
description = "Reset the config file 02periodic."
[reset_default_app]
name = "Reset the app with a default configuration."
2024-01-09 18:07:57 +01:00
command = "/bin/bash scripts/actions/reapply_config \"50unattended-upgrades\" \"02periodic\" \"apticron\""
2020-04-23 20:43:03 +02:00
# user = "root" # optional
# cwd = "/" # optional
# accepted_return_codes = [0, 1, 2, 3] # optional
accepted_return_codes = [0]
description = "Reset the app to its default configuration to try to fix potential issues.<br>This action won't remove any data added to the app.<br>However, if you have modified any configuration, it will be overwritten."