summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-14 22:56:00 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-14 22:56:00 +0100
commit82c511dd5489bd7a2cbcd0313b9f54f9d7f166d2 (patch)
tree1472055b026db9337e6c44b6d8d56baccdce40d3
parent1689215a30a24ed9b6eaf7743b0a6b240aefaf4e (diff)
downloadguix-82c511dd5489bd7a2cbcd0313b9f54f9d7f166d2.tar.gz
gnu: slapd-configuration: Update default for run-dir.
* gnu/services/ldap.scm (slapd-configuration): Update default value for
run-dir to match defaults of 389-ds-base package.
* doc/guix.texi: Update documentation.
-rw-r--r--doc/guix.texi2
-rw-r--r--gnu/services/ldap.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index f376fd2c9b..5cb5ae1dfe 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -29069,7 +29069,7 @@ Sets the lock directory of the instance.
 @item @code{log-dir} (default: @code{"/var/log/dirsrv/slapd-@{instance_name@}"}) (type: string)
 Sets the log directory of the instance.
 
-@item @code{run-dir} (default: @code{"/var/run/dirsrv"}) (type: string)
+@item @code{run-dir} (default: @code{"/run/dirsrv"}) (type: string)
 Sets PID directory of the instance.
 
 @item @code{schema-dir} (default: @code{"/etc/dirsrv/slapd-@{instance_name@}/schema"}) (type: string)
diff --git a/gnu/services/ldap.scm b/gnu/services/ldap.scm
index 35f2735d40..49a33fac08 100644
--- a/gnu/services/ldap.scm
+++ b/gnu/services/ldap.scm
@@ -120,7 +120,7 @@ database.")
    (string "/var/log/dirsrv/slapd-{instance_name}")
    "Sets the log directory of the instance.")
   (run-dir
-   (string "/var/run/dirsrv")
+   (string "/run/dirsrv")
    "Sets PID directory of the instance.")
   (schema-dir
    (string "/etc/dirsrv/slapd-{instance_name}/schema")