feat: change config dir path to /etc/libretime
BREAKING: The configuration directory changed from `/etc/airtime` to `/etc/libretime`. Please rename your configuration directory accordingly.
This commit is contained in:
parent
604ff20239
commit
aed6d2f294
29 changed files with 51 additions and 45 deletions
|
@ -21,7 +21,7 @@ Feel free to pick the backup software of your choice, but know that rsync and si
|
|||
|
||||
### Backup the configuration
|
||||
|
||||
On common setups, you need to backup the entire `/etc/airtime` folder.
|
||||
On common setups, you need to backup the entire `/etc/libretime` folder.
|
||||
|
||||
### Backup the database
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ a [system account](https://www.freeipa.org/page/HowTo/LDAP#System_Accounts) that
|
|||
set up beforehand.
|
||||
|
||||
You can configure everything pertaining to how LibreTime accesses LDAP in
|
||||
`/etc/airtime/config.yml`. The default file has the following values you need to change.
|
||||
`/etc/libretime/config.yml`. The default file has the following values you need to change.
|
||||
|
||||
```yml
|
||||
#
|
||||
|
|
|
@ -28,7 +28,7 @@ It is strongly recommended that you do this before exposing your server to the i
|
|||
Make sure to include the semicolon at the end! A response of `ALTER ROLE` means that the command ran successfully.
|
||||
3. Change the password for the _airtime_ user with `ALTER USER airtime WITH PASSWORD 'new_password';`
|
||||
A response of `ALTER ROLE` means that the command ran successfully.
|
||||
4. If all is successful, logout of PostgreSQL with `\q`, go back to `/etc/airtime/config.yml` to edit the password
|
||||
4. If all is successful, logout of PostgreSQL with `\q`, go back to `/etc/libretime/config.yml` to edit the password
|
||||
in the config file, and restart all services mentioned in the previous section.
|
||||
|
||||
## Icecast
|
||||
|
@ -61,4 +61,4 @@ To change the default password for RabbitMQ, run the following command
|
|||
sudo rabbitmqctl change_password airtime newpassword
|
||||
```
|
||||
|
||||
and then update the `/etc/airtime/config.yml` file with the new password.
|
||||
and then update the `/etc/libretime/config.yml` file with the new password.
|
||||
|
|
|
@ -46,7 +46,7 @@ The Icecast server has a _fallback-mount_ feature which can be used to move clie
|
|||
|
||||
To enable fallback mounts, edit the main Icecast configuration file (`/etc/icecast2/icecast.xml`) to define the mount points you will use, and the relationship between them.
|
||||
|
||||
The example mount section provided in the `icecast.xml` file is commented out by default. Before or after the commented section, add three mount point definitions. The default mount point used by LibreTime is `/airtime_128` which is shown in the `/etc/airtime/liquidsoap.cfg` file. You must also define a mount point for the live source (ex. `/live.ogg`) and a mount point for the public to connect to (ex. `/stream.ogg`).
|
||||
The example mount section provided in the `icecast.xml` file is commented out by default. Before or after the commented section, add three mount point definitions. The default mount point used by LibreTime is `/airtime_128` which is shown in the `/etc/libretime/liquidsoap.cfg` file. You must also define a mount point for the live source (ex. `/live.ogg`) and a mount point for the public to connect to (ex. `/stream.ogg`).
|
||||
|
||||
```xml title="/etc/icecast2/icecast.xml"
|
||||
<mount>
|
||||
|
@ -75,7 +75,7 @@ Setting the value of _fallback-override_ to 1 (enabled) means that when the `/li
|
|||
|
||||
## Source configuration
|
||||
|
||||
Connect the other source to the Icecast server with the same parameters defined in the `/etc/airtime/liquidsoap.cfg` file, except for the mount point. This should one of the mount points you have defined in the `/etc/icecast2/icecast.xml` file, such as `/live.ogg` in the example above.
|
||||
Connect the other source to the Icecast server with the same parameters defined in the `/etc/libretime/liquidsoap.cfg` file, except for the mount point. This should one of the mount points you have defined in the `/etc/icecast2/icecast.xml` file, such as `/live.ogg` in the example above.
|
||||
|
||||
:::tip Streaming with Mixxx
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ title: Configuration
|
|||
sidebar_position: 20
|
||||
---
|
||||
|
||||
To configure LibreTime, you need to edit the `/etc/airtime/config.yml` file. This page describe the available options to configure your installation.
|
||||
To configure LibreTime, you need to edit the `/etc/libretime/config.yml` file. This page describe the available options to configure your installation.
|
||||
|
||||
## General
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ On a common setup, to access LibreTime specific logs you should search for the f
|
|||
For some LibreTime services, you can set a higher log level using the `LIBRETIME_LOG_LEVEL` environment variable, or by running the service by hand and using a command line flag:
|
||||
|
||||
```bash
|
||||
sudo -u www-data libretime-analyzer --config /etc/airtime/config.yml --log-level debug
|
||||
sudo -u www-data libretime-analyzer --config /etc/libretime/config.yml --log-level debug
|
||||
```
|
||||
|
||||
The `/var/log/apache2/libretime.error.log` file contains logs from the web server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue