services: pam-limits: fix limits.conf location
* gnu/services/base.scm: fix limits.conf location This fixes #49771 Signed-off-by: Julien Lepiller <julien@lepiller.eu>
parent
ae16fa14d3
commit
29883f1130
|
@ -1383,14 +1383,8 @@ information on the configuration file syntax."
|
|||
(let ((security-limits
|
||||
;; Create /etc/security containing the provided "limits.conf" file.
|
||||
(lambda (limits-file)
|
||||
`(("security"
|
||||
,(computed-file
|
||||
"security"
|
||||
#~(begin
|
||||
(mkdir #$output)
|
||||
(stat #$limits-file)
|
||||
(symlink #$limits-file
|
||||
(string-append #$output "/limits.conf"))))))))
|
||||
`(("security/limits.conf"
|
||||
,limits-file))))
|
||||
(pam-extension
|
||||
(lambda (pam)
|
||||
(let ((pam-limits (pam-entry
|
||||
|
|
Reference in New Issue