DIRSRV(5)

πŸ’– DIRSRV(5) πŸ’–

okay bestie, welcome to the File Formats Manual page for DIRSRV(5) β€” yes it's a section 5 page, yes it's iconic, let's go 🫢


🌸 NAME 🌸

/etc/sysconfig/dirsrv β€” the systemd EnvironmentFile that has opinions about every single Directory Server instance you've got running. all of them. no exceptions. πŸ’…


✨ SYNOPSIS ✨

/etc/sysconfig/dirsrv

that's it. that's the whole synopsis. it's giving minimalism. 😌


πŸ¦‹ DESCRIPTION πŸ¦‹

dirsrv πŸŽ€

okay so here's the tea: this file gets sourced by dirsrv upon startup to set the default environment for all directory server instances. like, it's the group chat everyone's in. it sets the vibe before anybody else even logs on. πŸ”₯

but what if you want one instance to have its own special little setup? not a problem, bestie. there's a file in the same directory called dirsrv-instance where instance is the name of your directory server instance. so, for example β€” dirsrv-localhost β€” that one's for the slapd-localhost instance. periodt. πŸ‘‘

and ngl, this file is in systemd EnvironmentFile format, so if you need the deets on that, go check out man systemd.exec. iykyk. πŸ“–


πŸ“ EXAMPLE πŸ“

LD_PRELOAD=/usr/lib64/dirsrv/lib/libjemalloc.so.2

literally just a line like that. slay. ✨


πŸ’œ AUTHOR πŸ’œ

dirsrv was written by the 389 Project. absolute legends, no cap. πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me being dramatic but please tell someone. report bugs to https://github.com/389ds/389-ds-base/issues/new β€” the maintainers will literally thank you for it. 🫢


Copyright Β© 2018 Red Hat, Inc.


okay bestie that's the whole page, you ate that πŸ’… don't forget: this is DIRSRV(5) from the File Formats Manual, dated Jun 26, 2018. go forth and configure responsibly. mwah. πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from