Skip to content

Commit

Permalink
Add startup script to DOCS
Browse files Browse the repository at this point in the history
  • Loading branch information
TECH7Fox authored Jul 10, 2024
1 parent 52f4d2f commit 3a7b7f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion asterisk/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ You can get a key [here](https://cloud.google.com/speech-to-text). Google says i

The log level to configure Asterisk to use. To know more about the existing presets, check [`logger.conf`](./rootfs/usr/share/tempio/logger.conf.gtpl).

### STDIN service
## STDIN service

You can use the STDIN service to run any Asterisk CLI commands that you want. For example:

Expand All @@ -114,6 +114,10 @@ service: hassio.addon_stdin
**This is only possible when using as an add-on.**
## Startup script
If the add-on finds a script at `/config/asterisk/startup.sh` it will run it before starting Asterisk. You can use this to install custom packages, dependancies, etc.

## Configuring the [Asterisk integration](https://github.com/TECH7Fox/Asterisk-integration)

- **_Host_**: `localhost` (when running as an add-on)
Expand Down

0 comments on commit 3a7b7f4

Please sign in to comment.