sau/config.cfg

82 lines
2.5 KiB
INI
Raw Permalink Normal View History

2019-04-06 23:50:54 +02:00
# Default settings in the default section (obviously)
[default]
# 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
# 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.
reboot_is_success=yes
# 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
do_system_upgrade=yes
# On Gentoo kernel upgrades, remove all but the last keep_kernels kernels from /boot
keep_kernels=4
# upgrade packages
do_package_upgrade=yes
# restart services affected by previous upgrades
do_service_restart=yes
# what to do with identified services by default. See services section.
default_service_policy=ignore
# do depclean on Gentoo
do_depclean=yes
2021-02-20 16:00:27 +01:00
# do eix-sync on Gentoo
do_reposync=yes
# 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
# 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]
# Gentoo uses the category/package naming scheme
2021-07-04 15:05:04 +02:00
dev-db/postgresql=1
# 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
# FreeBSD uses the short package name (without category)
gitlab=2
2019-04-06 23:50:54 +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.
# To ignore processes, just add them with empty values
[processes]
2019-04-06 23:50:54 +02:00
gitlab-workhorse=gitlab
qemu-system-x86_64=
# sometimes multiple services will have to be restarted
#ruby24=puppetserver puppetdb
# The services section contains restart policy for specific services.
# valid policies are 'ignore', 'warn', 'restart', 'silent-restart' and 'reboot'.
# 'silent-restart' is like 'restart', but will not log a warning when
# the service is restarted.
[services]
libvirtd=ignore
php-fpm=silent-restart