Sisyphus repository
Last update: 2017-12-12 11:07:24 +0300 | SRPMs: 18132 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.1-alt2
p8: 0.1-alt2
p7: 0.1-alt2
t7: 0.1-alt2

Group :: System/Configuration/Other
Source RPM: pam-limits-desktop

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

Name: pam-limits-desktop
Version: 0.1
Release: alt2

Summary: Configure pam_limits for desktop use
License: GPL
Group: System/Configuration/Other

Url: http://forum.altlinux.org/index.php?topic=37107.0
BuildArch: noarch

%define limitsdir %_sysconfdir/security/limits.d

%description
%summary
(increase nproc, nofile).

%prep

%build

%install
mkdir -p %buildroot%limitsdir
cat << EOF >> %buildroot%limitsdir/90-desktop.conf
# better defaults for desktop systems

*                soft        nproc        4096
*                hard        nproc        5120
*                soft        nofile        8192
*                hard        nofile        10240
*                soft        memlock        1024
*                hard        memlock        2048
EOF

%files
%limitsdir/90-desktop.conf

%changelog
* Tue Mar 14 2017 Michael Shigorin <mike at altlinux.org> 0.1-alt2
- added memlock limits suggested by shaba@

* Mon Feb 27 2017 Michael Shigorin <mike at altlinux.org> 0.1-alt1
- initial release

 
© 2009–2017 Igor Zubkov