X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm.sysconfig;h=9ba62a953cfec1205ea3dde7d3391f8896d48a48;hp=00f667dab00e46fb05a5c0d87fd86007488a7972;hb=8fa0ac2fcc16b1980e284e5b3e4af8554d7fde52;hpb=f245dd10d4b1e8e4ea10a813bf290a36f02fd326 diff --git a/rpm.sysconfig b/rpm.sysconfig index 00f667d..9ba62a9 100644 --- a/rpm.sysconfig +++ b/rpm.sysconfig @@ -11,17 +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} nor %systemd_post -# (which issues try-restart unless package itself contains NORESTART). +# 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 systemd service? # This means migrating init scripts from SysV to systemd. # If you disable this, systemd units will not be enabled for -# upgraded services. Newly installed packages will still have -# systemd services enabled. +# *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), -# - by %systemd_trigger disobeying systemd presets, +# - 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