aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixops/modules/databases/openldap.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/databases/openldap.nix b/nixops/modules/databases/openldap.nix
index f49adc8..165a029 100644
--- a/nixops/modules/databases/openldap.nix
+++ b/nixops/modules/databases/openldap.nix
@@ -61,7 +61,7 @@ in {
61 services.cron = { 61 services.cron = {
62 systemCronJobs = [ 62 systemCronJobs = [
63 '' 63 ''
64 35 1,13 * * * root ${pkgs.openldap}/bin/slapcat -v -b "dc=immae,dc=eu" -f ${pkgs.writeText "slapd.conf" ldapConfig} -l /var/lib/openldap/backup.ldif 64 35 1,13 * * * root ${pkgs.openldap}/bin/slapcat -v -b "dc=immae,dc=eu" -f ${pkgs.writeText "slapd.conf" ldapConfig} -l /var/lib/openldap/backup.ldif | ${pkgs.gnugrep}/bin/grep -v "^# id=[0-9a-f]*$"
65 '' 65 ''
66 ]; 66 ];
67 }; 67 };