sync with distribution changes:
- allow ergo to execute ergo-ldap as a subprocess to allow for LDAP
authentication
- allow ergo to create backup files to allow for autoupgrade
- consolidate and sort some lines for easier maintenance
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* add --init to suggested docker run invocations
See #2096; this should fix unreaped zombies when using an auth-script or
ip-check-script that spawns its own subprocesses, then exits before reaping
them.
* add a note on why --init
- Add logging to init script
- Add delay so OpenRC realises if we crashed quickly b/c of e.g. bad config
file
- General cleanups (like supporting multiple instances, style changes)
This should make it a lot easier to see what's going wrong when something
breaks.
Bug: ergochat/ergo#1914
Signed-off-by: Sam James <sam@gentoo.org>
* Advanced certfp support
Signed-off-by: Georg <georg@lysergic.dev>
* Moving certfp logic
Signed-off-by: Georg <georg@lysergic.dev>
* Cleaning up certfp logic
Signed-off-by: Georg <georg@lysergic.dev>
- Environment variable prefix
- DNSBL repo URI
- Project and repo names in link to Docker-specific instructions
- Docker container and volume names in docker run command
This makes invoking the script multiple times with the same input return
the same result, which may not be the case before because sets are
unordered and thus the channel modes can become reordered across
multiple invocations of the script.
For example, if the mlock is set to `-i`, `i` is not present in the
`modes` and thus it would error.
I'm inclined to think that the negative mlock feature doesn't behave
correctly, because the mlock of `-i` (or `-n`) would prevent anyone from
ever setting those modes on the channel. Which this does not appear to
be the case.
Fixes#1401