diff --git a/README.asciidoc b/README.asciidoc index a6a68e3..07b896e 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -377,7 +377,7 @@ The following options can be overridden on a per-instance basis: Valid in `msgWarnReason`, replaced at runtime with the appropriate `msgReason*` template `{time}`;; - Valid in `msgWarnReason`, replaced at runtime with the appropriate `msgTime*` template + Valid in `msgWarnReason` and `msgReason*`, replaced at runtime with the appropriate `msgTime*` template `{modnamesupdate}`;; Valid in `msgReason*Mod`, replaced at runtime with a comma-delimited list of updated mod names diff --git a/tools/arkmanager b/tools/arkmanager index d5488e1..2d4775c 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -988,6 +988,7 @@ printWarnMessage(){ reason="maintenance" fi fi + reason="${reason//\{time\}/${msgtime}}" reason="${reason//\{modnamesupdated\}/${modnamesupdated}}" msg="${msg//\{reason\}/${reason}}" printf "%s\n" "$msg"