summaryrefslogtreecommitdiffstats
path: root/modules/ejabberd/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* systemd-credentials: make the options part of systemd.servicestv8 hours1-1/+1
| | | | | | | | | | | | systemd.services.<name>.restartIfCredentialsChange and reloadIfCredentialsChange replace hrm.systemd.services.<name>.…; the alias for stockholm's krebs.systemd.services now points there. Units can't be made from config.systemd.services itself, so the trigger services become two templates, credentials-restart@ and credentials-reload@, which call systemctl themselves; only the path units remain per service, by their old names. Without comparing checksums any more: the path units fire when a credential is written, and nothing rewrites one unchanged.
* systemd-credentials: rename krebs.systemd to hrm.systemdtv13 days1-1/+1
| | | | | | The file was modules/krebs-systemd.nix to stay clear of modules/systemd.nix. krebs.systemd.services stays as an alias for stockholm's tinc, repo-sync, and exim-smarthost.
* ejabberd: ensure PREVIOUS.LOG existstv2025-06-171-0/+11
| | | | | | | | | | | | This fixes an issue causing ejabberd to abort with following error message: ** FATAL ** {error,{"Cannot rename disk_log file",latest_log, "/var/lib/ejabberd/PREVIOUS.LOG", {log_header,trans_log,"4.3","4.20.4.1", ejabberd@localhost, {1665,261856,453060}}, {file_error,"/var/lib/ejabberd/PREVIOUS.LOG",erofs}}}
* ejabberd: derive StateDirectory from stateDirtv2025-06-171-1/+1
|
* ejabberd: export HOMEtv2025-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | Ejabberd 25.04 (and likely earlier versions) require the HOME directory to be defined in order to start. Without it, ejabberd will abort with following error message: [critical] Failed to start ejabberd application: Exception occurred during configuration processing. This is most likely due to faulty/incompatible validator in third-party code. If you are not running any third-party code, please report the bug with ejabberd configuration file attached and the following stacktrace included: ** exception error: no match of right hand side value error in function ejabberd_config:get_predefined_keywords/1 (/build/source/src/ejabberd_config.erl, line 506) in call from ejabberd_config:validators/3 (/build/source/src/ejabberd_config.erl, line 593) in call from ejabberd_config:'-validators/2-fun-0-'/4 (/build/source/src/ejabberd_config.erl, line 366) in call from lists:foldl/3 (lists.erl, line 2146) in call from ejabberd_config:validators/2 (/build/source/src/ejabberd_config.erl, line 364) in call from ejabberd_config:validate/1 (/build/source/src/ejabberd_config.erl, line 710) in call from ejabberd_config:read_file/2 (/build/source/src/ejabberd_config.erl, line 637) in call from ejabberd_config:load_file/1 (/build/source/src/ejabberd_config.erl, line 737) References https://github.com/processone/ejabberd/issues/4402
* stockholm -> hrmtv2023-09-131-0/+274