]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.sysconfig
macros for %_ver_lt %_ver_ge
[packages/rpm.git] / rpm.sysconfig
index 861a2fce64264bcce7b9f00e68caea0c130ec042..9ba62a953cfec1205ea3dde7d3391f8896d48a48 100644 (file)
@@ -1,18 +1,31 @@
 # 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
 
-# Should unused users be removed at package deinstalation?
+# Should unused users be removed at package deinstallation?
 RPM_USERDEL=yes
 
 # Should automatic restarts from rpm upgrades be skipped?
-# You want to enable this if you have critical services running and lots of
-# packages trigger the service restart, like apache or php packages upgrade
-# could cause your service being interupted for serveral minutes depending how
-# (un)powerful your server hardware is.
-# You can also disable this per service, if service supports it from /etc/sysconfig/SERVICE
+# 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 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 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
This page took 0.026977 seconds and 4 git commands to generate.