Update paths after playout move
This commit is contained in:
parent
ca12ca5c41
commit
19c816f294
5 changed files with 11 additions and 11 deletions
14
install
14
install
|
@ -206,7 +206,7 @@ function systemInitInstall() {
|
|||
alt_path="${target_path//libretime-/airtime-}"
|
||||
;;
|
||||
libretime-liquidsoap | libretime-playout)
|
||||
source_path="${python_source_path}/pypo/install/systemd/${service_name}.service"
|
||||
source_path="${SCRIPT_DIR}/playout/install/systemd/${service_name}.service"
|
||||
target_path="/etc/systemd/system/${service_name}.service"
|
||||
alt_path="${target_path//libretime-/airtime-}"
|
||||
;;
|
||||
|
@ -268,7 +268,7 @@ function systemInitInstall() {
|
|||
user=""
|
||||
;;
|
||||
libretime-liquidsoap | libretime-playout)
|
||||
source_path="${python_source_path}/pypo/install/upstart/${service_name}.conf.template"
|
||||
source_path="${SCRIPT_DIR}/playout/install/upstart/${service_name}.conf.template"
|
||||
target_path="/etc/init/${service_name}.conf"
|
||||
user=${user:-$web_user}
|
||||
;;
|
||||
|
@ -308,7 +308,7 @@ function systemInitInstall() {
|
|||
user=""
|
||||
;;
|
||||
libretime-liquidsoap | libretime-playout)
|
||||
source_path="${python_source_path}/pypo/install/sysvinit/${service_name}"
|
||||
source_path="${SCRIPT_DIR}/playout/install/sysvinit/${service_name}"
|
||||
target_path="/etc/init.d/${service_name}"
|
||||
user=${user:-$web_user}
|
||||
;;
|
||||
|
@ -760,7 +760,7 @@ if [ "$ignore_dependencies" = "f" ]; then
|
|||
"${SCRIPT_DIR}/legacy"
|
||||
"${SCRIPT_DIR}/api"
|
||||
"${SCRIPT_DIR}/analyzer"
|
||||
"${SCRIPT_DIR}/python_apps/pypo"
|
||||
"${SCRIPT_DIR}/playout"
|
||||
)
|
||||
|
||||
set -e
|
||||
|
@ -1015,15 +1015,15 @@ if [ ! -d /var/log/airtime ]; then
|
|||
|
||||
verbose "\n * Copying logrotate files..."
|
||||
loudCmd "cp ${AIRTIMEROOT}/legacy/build/airtime-php.logrotate /etc/logrotate.d/airtime-php"
|
||||
loudCmd "cp ${AIRTIMEROOT}/python_apps/pypo/liquidsoap/logrotate.conf /etc/logrotate.d/libretime-liquidsoap"
|
||||
loudCmd "cp ${AIRTIMEROOT}/playout/liquidsoap/logrotate.conf /etc/logrotate.d/libretime-liquidsoap"
|
||||
fi
|
||||
|
||||
verbose "\n * Installing API client..."
|
||||
loudCmd "$pip_cmd install ${AIRTIMEROOT}/api_client"
|
||||
verbose "...Done"
|
||||
|
||||
verbose "\n * Installing pypo and liquidsoap..."
|
||||
loudCmd "$pip_cmd install ${AIRTIMEROOT}/python_apps/pypo"
|
||||
verbose "\n * Installing playout and liquidsoap..."
|
||||
loudCmd "$pip_cmd install ${AIRTIMEROOT}/playout"
|
||||
loudCmd "mkdir -p /var/log/airtime/{pypo,pypo-liquidsoap} /var/tmp/airtime/pypo/{cache,files,tmp} /var/tmp/airtime/show-recorder/"
|
||||
loudCmd "chown -R ${web_user}:${web_user} /var/log/airtime/{pypo,pypo-liquidsoap} /var/tmp/airtime/pypo/{cache,files,tmp} /var/tmp/airtime/show-recorder/"
|
||||
systemInitInstall libretime-liquidsoap "$web_user"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue