Install analyzer with pip and change script prefix to default /usr/local

This commit is contained in:
jo 2021-10-01 17:43:20 +02:00
parent 53af85de02
commit af656d5481
2 changed files with 2 additions and 2 deletions

View File

@ -1052,7 +1052,7 @@ systemInitInstall libretime-celery
verbose "...Done"
verbose "\n * Installing libretime-analyzer..."
loudCmd "$python_bin ${AIRTIMEROOT}/python_apps/airtime_analyzer/setup.py install --install-scripts=/usr/bin"
loudCmd "$pip_cmd install ${AIRTIMEROOT}/python_apps/airtime_analyzer"
systemInitInstall libretime-analyzer "$web_user"
verbose "...Done"

View File

@ -2,7 +2,7 @@
Description=LibreTime Media Analyzer Service
[Service]
ExecStart=/usr/bin/libretime-analyzer
ExecStart=/usr/local/bin/libretime-analyzer
User=libretime-analyzer
Group=libretime-analyzer
Restart=always