| Commit message (Collapse) | Author | Age |
... | |
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Adding by index could be an issue if the user wanted the data to be
added to a DB other than the first.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The old slapd.conf is deprecated. Replace with slapd.d, and use this
opportunity to write some structured settings.
Incidentally, this fixes the fact that openldap is reported up before
any checks have completed, by using forking mode.
|
| | |
| | |
| | |
| | | |
All other database servers in NixOS also use this safe-by-default setting.
|
|\ \ \
| | | |
| | | | |
riak-cs: delete
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These were broken since 2016:
https://github.com/systemd/systemd/commit/f0367da7d1a61ad698a55d17b5c28ddce0dc265a
since StartLimitIntervalSec got moved into [Unit] from [Service].
StartLimitBurst has also been moved accordingly, so let's fix that one
too.
NixOS systems have been producing logs such as:
/nix/store/wf98r55aszi1bkmln1lvdbp7znsfr70i-unit-caddy.service/caddy.service:31:
Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.
I have also removed some unnecessary duplication in units disabling
rate limiting since setting either interval or burst to zero disables it
(https://github.com/systemd/systemd/blob/ad16158c10dfc3258831a9ff2f1a988214f51653/src/basic/ratelimit.c#L16)
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* nixos/postgresql: fix inaccurate docs for authentication
We actually use peer authentication, then md5 based authentication.
trust is not used.
* Use a link for mkForce docs
Co-authored-by: aszlig <aszlig@redmoonstudios.org>
Co-authored-by: lf- <lf-@users.noreply.github.com>
Co-authored-by: aszlig <aszlig@redmoonstudios.org>
|
| |/
|/| |
|
|\ \
| | |
| | | |
nixos/victoriametrics: escape newlines in ExecStart
|
| | |
| | |
| | | |
Fixes #96206
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
nixos/postgresql: run ExecStartPost as an unprivileged user
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
nixos/mysql: run postStart as an unprivileged user
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
This leads to ci failure otherwise if the file gets changed.
git-blame can ignore whitespace changes.
|
| |
| |
| |
| |
| |
| |
| | |
The missing () caused parts of the escripts to be added to the
ExecStartPost line instead of inside the script.
This caused postgresql start to fail under certain conditions.
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
In certain cases, for example when custom OpenLDAP modules are
compiled into the binary, users may want to override the package used
for OpenLDAP.
This is especially common in setups where LDAP is the primary
authentication source, as good password hashing mechanisms need to be
enabled as extra modules.
|
|
|
|
|
|
| |
Fixes
error: The option value `meta.maintainers' in `nixos/modules/services/databases/openldap.nix' is not of type `list of maintainers'.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
nixos/rethinkdb: refactor enable option
|
| | |
|
|\ \
| |/
|/| |
nixos/mysql: refactor enable option
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 6.0 changelog notes that systemd support was rewritten. The effects
of that seem to be twofold:
* Redis will silently fail to sd_notify if not built with libsystemd,
breaking our unit configuration.
* It also appears to misbehave if told to daemonize when running under
systemd -- note that upstream's sample unit configuration does not
daemonize:
https://github.com/antirez/redis/blob/unstable/utils/systemd-redis_server.service
|
| |
| |
| |
| |
| |
| | |
Currently, sudo doesn't work in a NixOS container running inside a Nix
build, because Nix's seccomp filter doesn't allow setuid programs. In
any case, runuser is a bit lower-overhead than sudo.
|
| | |
|
|/ |
|
|\
| |
| | |
postgres: Do not log timestamp
|
| |
| |
| | |
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By default, postgres prefixes each log line with a timestamp. On NixOS
logs are written to journal anyway, so they include an external
timestamp, so the timestamp ends up being printed twice, which clutters
the log.
* Add a module option to change the log prefix.
* Set it to upstream default sans timestamp.
|
| |
| |
| |
| | |
More consistency with other modules (mkEnableOption)
|