3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-26 20:52:38 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
Sam James
7c766b2096
distrib: refine OpenRC init scripts
- 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>
2022-02-19 22:39:39 +00:00
Sam James
2619a23458 distrib: add OpenRC init scripts
Written originally for Gentoo but should work
on Alpine and other OpenRC-consuming distros too.

Signed-off-by: Sam James <sam@gentoo.org>
2022-01-09 07:39:14 +00:00
Shivaram Lingamneni
8fc20d8eed fix the atheme side of #1864
Import stored certfps from Atheme as well.
2021-12-13 02:14:04 -05:00
15f5f2e9b0
anope2json certfp support (#1867)
* 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>
2021-12-12 20:18:41 -05:00
Shivaram Lingamneni
4f7356f19a anope2json, atheme2json: handle non-UTF8 data
Also ignore an unrecognized field type in anope
2021-12-09 22:11:24 -05:00
erin
b8e38819d8 Update oragono references to ergo
- 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
2021-12-03 12:07:05 -08:00
erin
fba41a26df Update docker repo location in docs and docker-compose.yml 2021-12-03 11:10:52 -08:00
Shivaram Lingamneni
20270aeb22 docs: fix incorrect naming of GHCR 2021-11-28 02:46:55 -05:00
Shivaram Lingamneni
57c943c812
Merge pull request #1846 from tacerus/SMF
OpenSolaris / Illumos Service Management Facility (SMF) Service
2021-11-28 01:27:31 -05:00
Shivaram Lingamneni
0344e99bc6 update docker readme 2021-11-28 01:26:36 -05:00
b106c01303
Solaris SMF Service
Signed-off-by: Georg <georg@lysergic.dev>
2021-11-22 17:11:41 +01:00
Shivaram Lingamneni
4ba35afa85 try to fix docker entrypoint
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/ircd-bin/run.sh": permission denied: unknown.
2021-11-02 05:15:56 -04:00
xnaas
48897596c4
update 'docker kill' command 2021-10-29 09:56:36 -05:00
Jacob Moody
9f7ead07a5
add s6 services to distrib 2021-08-28 18:14:47 -06:00
Shivaram Lingamneni
6f24082705 support systemd notifications
Fixes #1733
2021-07-04 07:41:59 -04:00
Daniel Thamdrup
2abfa66802 update docker readme 2021-06-21 11:56:14 +02:00
ca99a65dc4
Submitting rc.ergo
/etc/rc.d/rc.ergo
2021-06-14 11:28:35 +00:00
Daniel Thamdrup
0898a6aa91 update dockerfile and minor changes 2021-06-09 15:24:52 +02:00
Shivaram Lingamneni
6ff0486aa0 changelog, documentation, and distrib updates for ergo 2.7 2021-05-30 03:45:25 -04:00
Karsten Højgaard
76fa365a7a
Update run.sh to use newly renamed ergo binaries 2021-05-28 23:15:30 +02:00
Shivaram Lingamneni
5095a4d814 add commented-out PrivateNetwork to unit file 2021-01-14 01:17:46 -05:00
Shivaram Lingamneni
ba72d3acfc implement a channel forwarding mode
Fixes #1260
2020-12-14 22:38:23 -05:00
Shivaram Lingamneni
579924c832 give all groupserv founders +q in atheme2json 2020-12-07 17:26:31 -05:00
Shivaram Lingamneni
31003bd02d fix bugs in atheme2json.py 2020-12-07 02:53:45 -05:00
Shivaram Lingamneni
468b5a4a39 fix #1403
Handle the case where atheme had a successor, but didn't correctly
elect them as founder (?)
2020-12-06 20:50:06 -05:00
Shivaram Lingamneni
b95afa1464 preemptively filter out masks from amodes in atheme import 2020-12-06 20:07:45 -05:00
Shivaram Lingamneni
d6a2c0db4a fix #1431 2020-12-06 12:38:18 -05:00
James Lu
2dcb084e0f atheme2json: translate channel flag +a to the corresponding amode 2020-12-04 01:08:23 -08:00
James Lu
22b0263c5b atheme2json: flatten channels owned by GroupServ groups to the first group founder 2020-12-04 01:08:23 -08:00
Kyle Fuller
7e5cdc4f90 refactor atheme2json to sort channel modes
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.
2020-11-27 19:20:58 +00:00
Kyle Fuller
97bb044640 fix atheme2json to handle mlock mode removal
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
2020-11-27 16:29:08 +00:00
Shivaram Lingamneni
2615b15cc4 fix xop levels for anope 2020-10-12 21:06:00 -04:00
Shivaram Lingamneni
82be9a8423 support migrating anope databases 2020-10-12 15:06:17 -04:00
Shivaram Lingamneni
a19ac34ace check +F instead of +q for founder 2020-10-05 11:44:22 -04:00
Shivaram Lingamneni
7a6413ea2c first draft of atheme migration code 2020-10-02 16:48:37 -04:00
Shivaram Lingamneni
5741f3e15c add changelog and documentation updates 2020-07-13 23:49:27 -04:00
Shivaram Lingamneni
a6e2b5a3ae update references to oragono.yaml to reflect new name of default.yaml 2020-06-14 18:54:36 -04:00
Shivaram Lingamneni
5c4425ec54 switch to nothing-up-my-sleeve example password hashes 2020-05-24 20:19:10 -04:00
Shivaram Lingamneni
de99fdb0ed fix systemd unit 2020-05-24 17:45:09 -04:00
Shivaram Lingamneni
52d6fa70a8 fix #954 2020-04-22 21:45:06 -04:00
Shivaram Lingamneni
5df1b8b2bc rename default operator to admin 2020-03-31 13:57:38 -04:00
Daniel Oaks
5e5c857821 Fix Docker 2020-03-07 19:02:33 +10:00
Chris Smith
bd32e2d56b
Make docker build with go 1.14 2020-02-26 10:55:12 +00:00
Shivaram Lingamneni
389f936e82 fix typos 2019-11-23 17:47:52 -05:00
Chris Smith
69e1dea224
Fix ports in the docker instructions
-P/--publish-all publishes the container ports on a random
host port, which you have to look up using `docker port`.

In the common case they should be published on the same ports.
2019-11-22 18:06:51 +00:00
Chris Smith
68a8f4b698
Merge in files from docker repository.
This will allow easier building on docker hub and let us automatically
publish tags for each release.

Fixes oragono/oragono-docker#20
2019-11-22 17:48:53 +00:00