| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
An instance runs as a dynamic user unless it names one.
|
| |
|
|
|
|
|
| |
credentials maps names to secret files. They reach the instance by
LoadCredential, so settings refer to them as
${env:CREDENTIALS_DIRECTORY}/<name>, and the instance restarts when one
changes.
|
| |
|
|
|
|
|
|
| |
state-file and document-file, and where they apply store-file,
store-vote-record and tor.state-dir, default to files in
${env:STATE_DIRECTORY}. The defaults go in when the file is written
rather than through the module system: a default that depends on other
settings of the same free-form set recurses infinitely there.
|
| |
|
|
|
|
|
|
| |
hrm.continuum.instances.<name> makes a service continuum-<name> from
settings, which are continuum's options, written as TOML into the store.
The service runs as a dynamic user with a state directory and nothing
but the network. It restarts always, as continuum exits with status 0
when a transport stops.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
reloadIfCredentialsChange reloads the service when its credentials
change, with RefreshOnReload=credentials so the reload sees the new
ones. A service that can't be reloaded is restarted. It is off for
every service so far: tinc's reload doesn't read its private key again,
and the others haven't been checked. An assertion requires ExecReload=
or Type=notify-reload, because with RefreshOnReload= set, systemd
"reloads" any other service by refreshing its credentials without
telling it.
|
| |
|
|
|
| |
systemctl restart starts a service that isn't running; try-restart
doesn't.
|
| | |
|
| | |
|
| |
|
|
|
| |
Units were made for every service in hrm.systemd.services, whatever
restartIfCredentialsChange said. charybdis relied on that.
|
| |
|
|
|
| |
Make the temporary file next to the cache, so mv renames it rather
than copying it from /tmp.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|