> For the complete documentation index, see [llms.txt](https://docs.itgrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itgrix.com/for-admins/module-files.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
