nixpkgs-suyu/nixos/modules/services
Jörg Thalheim 382b0aa52d
nixos/openldap: check configuration with slaptest
slapd does only print the error and not the line number.
Sometimes it is not even clear that it fails to start
due to an incorrect configuration file.

Example output of slaptest:

5e1b2179 /nix/store/gbn2v319d4qgw851sg41mcmjm5dpn39i-slapd.conf: line 134 objectClass: Missing closing parenthesis before end of input
ObjectClassDescription = "(" whsp
  numericoid whsp                 ; ObjectClass identifier
  [ "NAME" qdescrs ]
  [ "DESC" qdstring ]
  [ "OBSOLETE" whsp ]
  [ "SUP" oids ]                ; Superior ObjectClasses
  [ ( "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" ) whsp ]
                                  ; default structural
  [ "MUST" oids ]               ; AttributeTypes
  [ "MAY" oids ]                ; AttributeTypes
  whsp ")"
slaptest: bad configuration file!
2020-01-12 14:25:49 +00:00
..
admin nixos/oxidized: add missing slash to PIDFile path 2020-01-06 16:58:54 +01:00
amqp
audio treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
backup treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
cluster treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
computing nixos/slurm: add option for external slurmdbd.conf 2019-11-10 21:28:09 +01:00
continuous-integration treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
databases nixos/openldap: check configuration with slaptest 2020-01-12 14:25:49 +00:00
desktops nixos/pantheon: move contractor module into xservice 2019-12-20 09:26:35 -05:00
development lorri: add git to daemon path 2019-12-16 10:09:59 +01:00
editors treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
games nixos/openarena: fix service's binary name 2019-11-24 16:55:20 +01:00
hardware actkbd: fixed the description of the services.actkbd.bindings option 2020-01-11 13:07:19 -08:00
logging treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
mail nixos/spamassassin: allow initPreConf to be a path 2020-01-10 21:49:06 +00:00
misc nixos/home-assistant: support for secrets 2020-01-09 10:39:50 +00:00
monitoring treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
network-filesystems treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
networking nixos/nat: use nixos-nat-out instead of OUTPUT 2020-01-12 00:06:49 +01:00
printing treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
scheduling treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
search treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
security Merge pull request #76861 from Infinisil/paths-as-submodules 2020-01-12 14:19:04 +01:00
system treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
torrent nixos/transmission: fix from where service loads config 2019-12-31 15:21:29 +01:00
ttys treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
web-apps nixos/nextcloud: added trusted_proxies setting (#77480) 2020-01-11 15:43:43 +01:00
web-servers Merge branch 'master' into ihatemoney 2020-01-09 03:49:03 +01:00
x11 nixos/gdm: Fix tmpfiles configuration syntax 2020-01-08 19:51:32 -08:00