From f59f9214777be5823c78ade82c55642fece319b6 Mon Sep 17 00:00:00 2001 From: Gaoyi Date: Sat, 27 Feb 2021 15:44:43 +0800 Subject: [PATCH] systemd: just confiure DefaultTasksMax when install Signed-off-by: Gaoyi --- systemd.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/systemd.spec b/systemd.spec index 8121a510..3806ec10 100644 --- a/systemd.spec +++ b/systemd.spec @@ -20,7 +20,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 246 -Release: 14 +Release: 15 License: MIT and LGPLv2+ and GPLv2+ Summary: System and Service Manager @@ -546,9 +546,8 @@ setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ &>/de # This will fix up enablement of any preset services that got installed # before systemd due to rpm ordering problems: # https://bugzilla.redhat.com/show_bug.cgi?id=1647172 -echo "DefaultTasksMax=80%" >> /etc/systemd/system.conf - if [ $1 -eq 1 ] ; then + echo "DefaultTasksMax=80%" >> /etc/systemd/system.conf systemctl preset-all &>/dev/null || : fi @@ -1489,6 +1488,12 @@ fi %exclude /usr/share/man/man3/* %changelog +* Sat Feb 27 2021 gaoyi - 246-15 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: just confiure DefaultTasksMax when install + * Fri Jan 22 2021 fangxiuning - 246-14 - Type:bugfix - ID:NA -- Gitee