feat(installer): rename shared files path to /usr/share/libretime

BREAKING CHANGE: The shared files path changed from `/usr/share/airtime` to `/usr/share/libretime`. The directory must be renamed **before the upgrade procedure**.
This commit is contained in:
jo 2022-06-06 00:06:48 +02:00 committed by Kyle Robbertze
parent 28b9343c77
commit e8fc5cd1c5
2 changed files with 15 additions and 1 deletions

View File

@ -64,6 +64,20 @@ sudo rm -f /etc/httpd/conf.d/airtime*
sudo rm -f /etc/php.d/airtime.ini sudo rm -f /etc/php.d/airtime.ini
``` ```
### Shared files path
:::caution
Please run this **before the upgrade procedure**!
:::
The shared files path changed from `/usr/share/airtime` to `/usr/share/libretime`. The directory must be renamed:
```bash
sudo mv /usr/share/airtime /usr/share/libretime
```
### Replaced uWSGI with Gunicorn ### Replaced uWSGI with Gunicorn
[uWSGI](https://uwsgi-docs.readthedocs.io) was replaced by [Gunicorn](https://gunicorn.org/), the packages and configuration file should be removed from the system: [uWSGI](https://uwsgi-docs.readthedocs.io) was replaced by [Gunicorn](https://gunicorn.org/), the packages and configuration file should be removed from the system:

View File

@ -182,7 +182,7 @@ CONFIG_EXAMPLE_FILEPATH="$SCRIPT_DIR/installer/config.yml"
WORKING_DIR="/var/lib/libretime" WORKING_DIR="/var/lib/libretime"
LOG_DIR="/var/log/libretime" LOG_DIR="/var/log/libretime"
STORAGE_DIR="/srv/libretime" STORAGE_DIR="/srv/libretime"
LEGACY_WEB_ROOT="/usr/share/airtime/legacy" LEGACY_WEB_ROOT="/usr/share/libretime/legacy"
SERVICE_DIR="/usr/lib/systemd/system" SERVICE_DIR="/usr/lib/systemd/system"