2019-04-06 23:50:54 +02:00
|
|
|
# Default settings in the default section (obviously)
|
|
|
|
[default]
|
2019-04-18 10:31:00 +02:00
|
|
|
# version_sensitivity represents how many point fields (counting from left) that must
|
|
|
|
# match in the versioning scheme for automatic upgrades to be allowed. Typically
|
|
|
|
# you want to set this to 1 to not auto-update major version that may brake things
|
|
|
|
# Some examples:
|
|
|
|
# 1.0.0 -> 1.0.0 (3)
|
|
|
|
# 1.0.0 -> 1.0.1 (2)
|
|
|
|
# 1.0.0 -> 1.1.0 (1)
|
|
|
|
# 1.0.0 -> 2.0.0 (0)
|
|
|
|
# 1.0.0.0 -> 2.0.0.0 (0)
|
|
|
|
# 1.0.1 -> 1.0.1.1 (3)
|
|
|
|
version_sensitivity=1
|
2019-04-06 23:50:54 +02:00
|
|
|
|
2024-07-25 19:25:12 +02:00
|
|
|
# Set to no if you're using sau in an environment where running processes
|
|
|
|
# shouldn't be touched and reboots shouldn't be done, for example in chroots
|
|
|
|
live_system=yes
|
|
|
|
|
2019-04-06 23:50:54 +02:00
|
|
|
# sau can reboot on system upgrades (FreeBSD) or if the service restarts does
|
|
|
|
# not close all deleted files (any platform)
|
|
|
|
do_reboot=no
|
|
|
|
|
2024-07-24 18:40:56 +02:00
|
|
|
# Set to no to exit with failure code when going for reboot.
|
2024-07-19 20:55:48 +02:00
|
|
|
reboot_is_success=yes
|
|
|
|
|
2023-05-15 06:42:13 +02:00
|
|
|
# Attempt to do a system upgrade
|
|
|
|
# FreeBSD: upgrade to latest patch version using freebsd-update fetch install
|
|
|
|
# Gentoo: allow upgrade of sys-kernel/-packages, clean old kernels, and update grub-config
|
2019-04-07 19:27:15 +02:00
|
|
|
do_system_upgrade=yes
|
2019-04-09 18:13:37 +02:00
|
|
|
|
2023-05-15 06:42:13 +02:00
|
|
|
# On Gentoo kernel upgrades, remove all but the last keep_kernels kernels from /boot
|
|
|
|
keep_kernels=4
|
|
|
|
|
2019-04-09 18:13:37 +02:00
|
|
|
# upgrade packages
|
2019-04-07 19:27:15 +02:00
|
|
|
do_package_upgrade=yes
|
2019-04-09 18:13:37 +02:00
|
|
|
|
|
|
|
# restart services affected by previous upgrades
|
2019-04-07 19:27:15 +02:00
|
|
|
do_service_restart=yes
|
2019-04-09 20:56:55 +02:00
|
|
|
# what to do with identified services by default. See services section.
|
|
|
|
default_service_policy=ignore
|
2019-04-07 19:27:15 +02:00
|
|
|
|
2019-04-09 18:13:37 +02:00
|
|
|
# do depclean on Gentoo
|
|
|
|
do_depclean=yes
|
|
|
|
|
2021-02-20 16:00:27 +01:00
|
|
|
# do eix-sync on Gentoo
|
|
|
|
do_reposync=yes
|
|
|
|
|
2019-04-09 18:13:37 +02:00
|
|
|
# to only write to stderr when something unexpected happens or manual action is required
|
|
|
|
# set stderr_loglevel to warning
|
|
|
|
stderr_loglevel=debug
|
|
|
|
syslog_loglevel=info
|
|
|
|
|
2019-04-06 23:50:54 +02:00
|
|
|
|
2019-04-18 10:31:00 +02:00
|
|
|
# The packages section contains <package>=<version_sensitivity> pairs to override the
|
|
|
|
# default version_sensitivity. Note that package naming may differ depending on
|
2019-04-06 23:50:54 +02:00
|
|
|
# platform
|
|
|
|
[packages]
|
2019-04-18 10:31:00 +02:00
|
|
|
# Gentoo uses the category/package naming scheme
|
2021-07-04 15:05:04 +02:00
|
|
|
dev-db/postgresql=1
|
2019-04-18 10:31:00 +02:00
|
|
|
|
2023-05-15 06:42:13 +02:00
|
|
|
# It's safer to upgrade zfs manually
|
2021-07-04 15:05:04 +02:00
|
|
|
sys-fs/zfs-kmod=99
|
2019-04-06 23:50:54 +02:00
|
|
|
|
2019-04-18 10:31:00 +02:00
|
|
|
# FreeBSD uses the short package name (without category)
|
|
|
|
gitlab=2
|
2019-04-06 23:50:54 +02:00
|
|
|
|
|
|
|
|
2019-04-09 20:56:55 +02:00
|
|
|
# The processes section contains <process-name>=<service-name>
|
2019-04-06 23:50:54 +02:00
|
|
|
# The process name is whatever psutil returns and I haven't checked if it's
|
|
|
|
# trustworthy, so it's probably not... Use with care.
|
2019-04-09 20:56:55 +02:00
|
|
|
# To ignore processes, just add them with empty values
|
|
|
|
[processes]
|
2019-04-06 23:50:54 +02:00
|
|
|
gitlab-workhorse=gitlab
|
2019-04-09 20:56:55 +02:00
|
|
|
qemu-system-x86_64=
|
|
|
|
|
2019-04-18 10:31:00 +02:00
|
|
|
# sometimes multiple services will have to be restarted
|
|
|
|
#ruby24=puppetserver puppetdb
|
|
|
|
|
2019-04-09 20:56:55 +02:00
|
|
|
# The services section contains restart policy for specific services.
|
2019-10-12 21:37:26 +02:00
|
|
|
# valid policies are 'ignore', 'warn', 'restart', 'silent-restart' and 'reboot'.
|
2019-04-09 21:53:55 +02:00
|
|
|
# 'silent-restart' is like 'restart', but will not log a warning when
|
|
|
|
# the service is restarted.
|
2019-04-09 20:56:55 +02:00
|
|
|
[services]
|
|
|
|
libvirtd=ignore
|
2019-04-09 21:53:55 +02:00
|
|
|
php-fpm=silent-restart
|