Rename airtime-playout to libretime-playout
This commit is contained in:
parent
25e947c8bf
commit
18cfd175a2
2 changed files with 6 additions and 6 deletions
|
@ -11,8 +11,8 @@ usage() {
|
||||||
|
|
||||||
if [ "$1" = "--enable" ]; then
|
if [ "$1" = "--enable" ]; then
|
||||||
|
|
||||||
/etc/init.d/airtime-playout stop
|
/etc/init.d/libretime-playout stop
|
||||||
/etc/init.d/airtime-playout start-liquidsoap
|
/etc/init.d/libretime-playout start-liquidsoap
|
||||||
|
|
||||||
user=$2
|
user=$2
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ elif [ "$1" = "--disable" ]; then
|
||||||
chown -Rv $user:$user /var/tmp/airtime/pypo/
|
chown -Rv $user:$user /var/tmp/airtime/pypo/
|
||||||
chmod -v a+r /etc/airtime/api_client.cfg
|
chmod -v a+r /etc/airtime/api_client.cfg
|
||||||
|
|
||||||
/etc/init.d/airtime-playout stop-liquidsoap
|
/etc/init.d/libretime-playout stop-liquidsoap
|
||||||
/etc/init.d/airtime-playout start
|
/etc/init.d/libretime-playout start
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -49,7 +49,7 @@ echo -e "The following files, directories, and services will be removed:\n"
|
||||||
for i in ${FILES[*]}; do
|
for i in ${FILES[*]}; do
|
||||||
echo "$i"
|
echo "$i"
|
||||||
done
|
done
|
||||||
echo "pip3 airtime-playout"
|
echo "pip3 libretime-playout"
|
||||||
|
|
||||||
echo -e "\nIf your web root is not listed, you will need to manually remove it."
|
echo -e "\nIf your web root is not listed, you will need to manually remove it."
|
||||||
|
|
||||||
|
@ -87,6 +87,6 @@ if [[ $IN == "y" || $IN == "Y" ]]; then
|
||||||
dropLibreTimeDatabase
|
dropLibreTimeDatabase
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pip3 uninstall -y airtime-playout airtime-media-monitor airtime-analyzer
|
pip3 uninstall -y libretime-playout airtime-media-monitor airtime-analyzer
|
||||||
service apache2 restart
|
service apache2 restart
|
||||||
echo "...Done"
|
echo "...Done"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue