feat(installer): rewrite install script

- remove unused root packages.ini
- write config to yaml file
- allow to set public_url during install
- force icecast start right after package install
- move config file in place at the end of installation

BREAKING CHANGE: The bash installer has been rewritten, the flags and
options changed, please run `./install --help` to get more details.
This commit is contained in:
jo 2022-05-23 17:16:02 +02:00 committed by Kyle Robbertze
parent aed6d2f294
commit ee98387264
13 changed files with 712 additions and 1245 deletions

View file

@ -2,9 +2,9 @@
Description=LibreTime Media Analyzer Service
[Service]
Environment=LIBRETIME_LOG_FILEPATH=/var/log/libretime/analyzer.log
Environment=LIBRETIME_CONFIG_FILEPATH=/etc/libretime/config.yml
WorkingDirectory=/var/lib/libretime/analyzer
Environment=LIBRETIME_LOG_FILEPATH=@@LOG_DIR@@/analyzer.log
Environment=LIBRETIME_CONFIG_FILEPATH=@@CONFIG_FILEPATH@@
WorkingDirectory=@@WORKING_DIR@@/analyzer
ExecStart=/usr/local/bin/libretime-analyzer
User=libretime-analyzer