[packages/rpm] describe real actions behind some variables
gotar
gotar at pld-linux.org
Wed Aug 24 14:04:17 CEST 2016
commit f245dd10d4b1e8e4ea10a813bf290a36f02fd326
Author: Tomasz Pala <gotar at pld-linux.org>
Date: Wed Aug 24 13:32:03 2016 +0200
describe real actions behind some variables
This is somehow messy and with systemd works different than before.
Apparently RPM_ENABLE_SYSV_SERVICE was never implemented, drop it.
rpm.sysconfig | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/rpm.sysconfig b/rpm.sysconfig
index d370d97..00f667d 100644
--- a/rpm.sysconfig
+++ b/rpm.sysconfig
@@ -11,16 +11,17 @@ 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).
#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 serviceless 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
# upgraded services. Newly installed packages will still have
# systemd services enabled.
+# 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,
RPM_ENABLE_SYSTEMD_SERVICE=yes
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/a6bf11b2c68522449d721165e4087ec12bbb9e59
More information about the pld-cvs-commit
mailing list