X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm.sysconfig;h=d370d97edb870e148af0d0ea2a2b54fba7e8bfe1;hb=10a92209fb37f7309de983774dea1c800a343044;hp=861a2fce64264bcce7b9f00e68caea0c130ec042;hpb=35c569fe389ac6e372bc43012995afa35e36bac6;p=packages%2Frpm.git diff --git a/rpm.sysconfig b/rpm.sysconfig index 861a2fc..d370d97 100644 --- a/rpm.sysconfig +++ b/rpm.sysconfig @@ -1,18 +1,26 @@ # 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 #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. +RPM_ENABLE_SYSTEMD_SERVICE=yes