X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=rpm.sysconfig;h=9ba62a953cfec1205ea3dde7d3391f8896d48a48;hb=06dd2f752e640ec4d7cfb4a10fc30b998f5a311b;hp=211c93f84d8e220f7353ce804c4d17a96aa84cc2;hpb=ef2729d846811dc0fe6d183a8d382873078e368f;p=packages%2Frpm.git diff --git a/rpm.sysconfig b/rpm.sysconfig index 211c93f..9ba62a9 100644 --- a/rpm.sysconfig +++ b/rpm.sysconfig @@ -1,7 +1,6 @@ # This file is intended for setting rpm options that cannot be set as macros # -# NOTE: -# At this moment only few packages use this features. +# NOTE: some packages might not use these features. # How verbose the .rpm scripts/triggers should be? RPM_SCRIPTVERBOSITY=5 @@ -12,15 +11,21 @@ RPM_USERDEL=yes # Should automatic restarts from rpm upgrades be skipped? # You can also disable this per service, if service supports it from # /etc/sysconfig/SERVICE +# This is NOT used by %systemd_service_{restart,reload}. %systemd_post +# issues try-restart unless package itself contains NORESTART or +# %service macro before exists (maps value below to NORESTART). I.e. +# %systemd_post honours this setting only after %service, while +# %service-less packages would try-restart anyway. #RPM_SKIP_AUTO_RESTART=yes -# Should package upgrades enable SysV service? -# You don't want to disable this unless you're planning to fully -# migrate to systemd or want serviceles system. -RPM_ENABLE_SYSV_SERVICE=yes - # Should package upgrades enable systemd service? # This means migrating init scripts from SysV to systemd. -# If you disable this, systemd units will not be enabled for newly -# installed/upgraded services. +# If you disable this, systemd units will not be enabled for +# *upgraded* services. Newly installed packages will follow +# systemd presets. +# This is used: +# - if set to "no" while upgrading from systemd-units < 1:187-3, +# sets default.preset to "disable *" (one-time configuration: +# for newly installed packages), +# - by %systemd_trigger (upgrade) disobeying systemd presets. RPM_ENABLE_SYSTEMD_SERVICE=yes