Added execute single message

This commit is contained in:
2021-09-27 10:23:31 +02:00
parent 2c495aa3e4
commit 7765cb32a9
5 changed files with 22 additions and 17 deletions

View File

@@ -33,15 +33,16 @@ Otherwise build the binary like every other golang binary and then copy it.
## Environment variables
| Variable | Required | Default Value | Description |
| ------------------------------------------------- | -------- | --------------------------------- | ------------------------------------------------------------------ |
| **Credentials:** |
| |
| CREDENTIALS_FILE_LOCATION | NO | input.json | Openfire jids and passwords |
| |
| **GeneralOptions:** |
| |
| PRESENCE_STATUS_DELAY | NO | 120000000000 - 2 mins | Delay between two presence status message |
| COMMAND_REPLY_DELAY | NO | 10 sec | Upper limit of random time to wait before sending reply |
| |
| Variable | Required | Default Value | Description |
| ------------------------------------------------- | -------- | --------------------------------- | -----------------------------------------------------------|
| **Credentials:** |
| |
| CREDENTIALS_FILE_LOCATION | NO | input.json | Database username |
| |
| **GeneralOptions:** |
| |
| PRESENCE_STATUS_DELAY | NO | 2 min | Delay for online presence message loop |
| COMMAND_REPLY_DELAY | NO | 10 sec | Delay for command message reply |
| EXECUTE_SIGLE_STATUS_MESSAGE | NO | false | Send one presence stanza message for clients and terminate|
| |