# Module files

### For the Bitrix24 app, the service and folders are called itgrix\_bx, for the Kommo app it's itgrix\_kmo

### Main module files

| Itgrix\_bx (Bitrix24) | Itgrix\_kmo (Kommo) |
| --------------------- | ------------------- |
| /opt/itgrix\_bx/      | /opt/itgrix\_kmo/   |

### Configuration file

| Bitrix24                    | Kommo                        |
| --------------------------- | ---------------------------- |
| /etc/itgrix\_bx/config.json | /etc/itgrix\_kmo/config.json |

### **Customizer**

All customizer files are located in the folder:

| Bitrix24                    | Kommo                        |
| --------------------------- | ---------------------------- |
| /opt/itgrix\_bx/customizer/ | /opt/itgrix\_kmo/customizer/ |

In this folder:

* Executable file `customize.php` (the path to it must be specified in the configuration file in the `customizer.program_path` field).
* Customizer's `settings.json` file. Especially important when using an additional copy of the module.
* Customization files in the `actions` folder.
* `README` file with documentation (including user-accessible functions).

### **Log**

The current day's log:

| Bitrix24                | Kommo                    |
| ----------------------- | ------------------------ |
| /var/log/itgrix\_bx.log | /var/log/itgrix\_kmo.log |

Logs are stored for 5 days, rotating around 3am.

### Logrotate settings

| Bitrix24                    | Kommo                        |
| --------------------------- | ---------------------------- |
| /etc/logrotate.d/itgrix\_bx | /etc/logrotate.d/itgrix\_kmo |

### Service

For systems using **systemctl**, the service is configured in the file:

| Bitrix24                               | Kommo                                   |
| -------------------------------------- | --------------------------------------- |
| /etc/systemd/system/itgrix\_bx.service | /etc/systemd/system/itgrix\_kmo.service |

For other systems:

| Bitrix24               | Kommo                   |
| ---------------------- | ----------------------- |
| /etc/init.d/itgrix\_bx | /etc/init.d/itgrix\_kmo |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itgrix.com/for-admins/module-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
