sau/config.cfg

39 lines
1.3 KiB
INI

# Default settings in the default section (obviously)
[default]
# version_diff represents (hopefully) the compatibility change for the package.
# It works by starting with the number of dots in the version scheme + 1, and
# then removes 1 for every field that is the same in the current and new
# version. Some examples:
# 1.0.0 -> 1.0.0 (level 0, a reinstall of the same version)
# 1.0.0 -> 1.0.1 (level 1)
# 1.0.0 -> 1.1.0 (level 2)
# 1.0.0 -> 2.0.0 (level 3)
# 1.0.0.0 -> 2.0.0.0 (level 4)
# 1.0.1 -> 1.0.1.1 (level 2, because that's how it turned out...)
min_version_diff=2
# sau can reboot on system upgrades (FreeBSD) or if the service restarts does
# not close all deleted files (any platform)
do_reboot=no
# The packages section contains <package>=<version_diff> pairs to override the
# default min_version_diff. Note that package naming may differ depending on
# platform
[packages]
# Gentoo kernel stuff should be updated manually
sys-kernel/gentoo-sources=0
sys-kernel/spl=0
sys-fs/zfs-kmod=0
dev-db/postgresql=1
# FreeBSD uses the short package name
gitlab=1
# The services 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.
[services]
gitlab-workhorse=gitlab