Update paths after analyzer move
This commit is contained in:
parent
2ef63e8c4e
commit
08f13d850c
5 changed files with 11 additions and 11 deletions
12
install
12
install
|
@ -196,7 +196,7 @@ function systemInitInstall() {
|
|||
if $has_systemd_init; then
|
||||
case "$service_name" in
|
||||
libretime-analyzer)
|
||||
source_path="${python_source_path}/airtime_analyzer/install/systemd/${service_name}.service"
|
||||
source_path="${SCRIPT_DIR}/analyzer/install/systemd/${service_name}.service"
|
||||
target_path="/etc/systemd/system/${service_name}.service"
|
||||
alt_path="${target_path//libretime-/airtime_}"
|
||||
;;
|
||||
|
@ -258,7 +258,7 @@ function systemInitInstall() {
|
|||
elif $has_upstart_init; then
|
||||
case "$service_name" in
|
||||
libretime-analyzer)
|
||||
source_path="${python_source_path}/airtime_analyzer/install/upstart/${service_name}.conf"
|
||||
source_path="${SCRIPT_DIR}/analyzer/install/upstart/${service_name}.conf"
|
||||
target_path="/etc/init/${service_name}.conf"
|
||||
user=${user:-$web_user}
|
||||
;;
|
||||
|
@ -296,7 +296,7 @@ function systemInitInstall() {
|
|||
elif $has_systemv_init; then
|
||||
case "$service_name" in
|
||||
libretime-analyzer)
|
||||
source_path="${python_source_path}/airtime_analyzer/install/sysvinit/${service_name}"
|
||||
source_path="${SCRIPT_DIR}/analyzer/install/sysvinit/${service_name}"
|
||||
target_path="/etc/init.d/${service_name}"
|
||||
user=${user:-$web_user}
|
||||
;;
|
||||
|
@ -759,7 +759,7 @@ if [ "$ignore_dependencies" = "f" ]; then
|
|||
"${SCRIPT_DIR}/"
|
||||
"${SCRIPT_DIR}/legacy"
|
||||
"${SCRIPT_DIR}/api"
|
||||
"${SCRIPT_DIR}/python_apps/airtime_analyzer"
|
||||
"${SCRIPT_DIR}/analyzer"
|
||||
"${SCRIPT_DIR}/python_apps/pypo"
|
||||
)
|
||||
|
||||
|
@ -1001,7 +1001,7 @@ pip_cmd="$python_bin -m pip"
|
|||
verbose "\n * Installing necessary python services..."
|
||||
loudCmd "$pip_cmd install --upgrade setuptools~=58.0"
|
||||
# Required here because PyGObject requires it, but it is installed after PyGObject
|
||||
# when pip parses the setup.py file in airtime_analyzer
|
||||
# when pip parses the setup.py file in analyzer
|
||||
loudCmd "$pip_cmd install pycairo==1.19.1"
|
||||
verbose "...Done"
|
||||
|
||||
|
@ -1047,7 +1047,7 @@ systemInitInstall libretime-celery
|
|||
verbose "...Done"
|
||||
|
||||
verbose "\n * Installing libretime-analyzer..."
|
||||
loudCmd "$pip_cmd install ${AIRTIMEROOT}/python_apps/airtime_analyzer"
|
||||
loudCmd "$pip_cmd install ${AIRTIMEROOT}/analyzer"
|
||||
systemInitInstall libretime-analyzer "$web_user"
|
||||
verbose "...Done"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue