feat(legacy): change logrotate config deploy path

BREAKING: the legacy logrotate config filepath was changed from `/etc/logrotate.d/airtime-php` to `/etc/logrotate.d/libretime-legacy`
This commit is contained in:
jo 2022-05-04 15:31:59 +02:00 committed by Kyle Robbertze
parent f58e51ec84
commit 21ab07eff8
2 changed files with 10 additions and 1 deletions

View File

@ -46,6 +46,15 @@ sudo apt purge \
uwsgi-plugin-python3
```
### Logrotate config filepath
The legacy logrotate config filepath was changed from `/etc/logrotate.d/airtime-php` to `/etc/logrotate.d/libretime-legacy`. The old configuration file must be removed:
```bash
# Remove the configuration file
sudo rm -f /etc/logrotate.d/airtime-php
```
### New configuration schema
The configuration schema was updated.

View File

@ -1001,7 +1001,7 @@ if [ ! -d /var/log/libretime ]; then
mkdir_and_chown "$web_user:$web_user" "/var/log/libretime"
verbose "\n * Copying logrotate files..."
loudCmd "cp ${AIRTIMEROOT}/legacy/install/logrotate/libretime-legacy.conf /etc/logrotate.d/airtime-php"
loudCmd "cp ${AIRTIMEROOT}/legacy/install/logrotate/libretime-legacy.conf /etc/logrotate.d/libretime-legacy"
loudCmd "cp ${AIRTIMEROOT}/playout/install/logrotate/libretime-liquidsoap.conf /etc/logrotate.d/libretime-liquidsoap"
fi