sau/config.cfg
2024-07-24 18:40:56 +02:00

82 lines
2.5 KiB
INI

# 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
# sau can reboot on system upgrades (FreeBSD) or if the service restarts does
# not close all deleted files (any platform)
do_reboot=no
# 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
# 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
# The packages section contains <package>=<version_sensitivity> pairs to override the
# default version_sensitivity. Note that package naming may differ depending on
# platform
[packages]
# Gentoo uses the category/package naming scheme
dev-db/postgresql=1
# It's safer to upgrade zfs manually
sys-fs/zfs-kmod=99
# FreeBSD uses the short package name (without category)
gitlab=2
# The processes section contains <process-name>=<service-name>
# 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]
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