mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-13 03:30:49 +02:00
albyhub: fix typos, formatting, translate comment (#4885)
This commit is contained in:
parent
d5c010a424
commit
805131a922
@ -133,7 +133,7 @@ if [ "$1" = "menu" ]; then
|
|||||||
http://${localIP}:${PORT_CLEAR}\n
|
http://${localIP}:${PORT_CLEAR}\n
|
||||||
https://${localIP}:${PORT_SSL} with Fingerprint:
|
https://${localIP}:${PORT_SSL} with Fingerprint:
|
||||||
${fingerprint}\n
|
${fingerprint}\n
|
||||||
The Alby Hub password is managed seperate from RaspiBlitz - make sure to manage it safely.\n
|
The Alby Hub password is managed separate from RaspiBlitz - make sure to manage it safely.\n
|
||||||
"
|
"
|
||||||
|
|
||||||
# use whiptail to show SSH dialog & exit
|
# use whiptail to show SSH dialog & exit
|
||||||
@ -166,7 +166,7 @@ if [ "$1" = "install" ]; then
|
|||||||
sudo wget -O albyhub-server.tar.bz2 https://github.com/getAlby/hub/releases/download/v$VERSION/albyhub-Server-Linux-aarch64.tar.bz2
|
sudo wget -O albyhub-server.tar.bz2 https://github.com/getAlby/hub/releases/download/v$VERSION/albyhub-Server-Linux-aarch64.tar.bz2
|
||||||
else
|
else
|
||||||
echo "# Downloading Alby Hub for x86"
|
echo "# Downloading Alby Hub for x86"
|
||||||
sudo wget -O albyhub-server.tar.bz2 https://github.com/getAlby/hub/releases/download/v$VERSION/albyhub-Server-Linux-x86_64.tar.bz2
|
sudo wget -O albyhub-server.tar.bz2 https://github.com/getAlby/hub/releases/download/v$VERSION/albyhub-Server-Linux-x86_64.tar.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# extract archives
|
# extract archives
|
||||||
@ -180,14 +180,14 @@ if [ "$1" = "install" ]; then
|
|||||||
# cleanup
|
# cleanup
|
||||||
sudo rm -f albyhub-server.tar.bz2
|
sudo rm -f albyhub-server.tar.bz2
|
||||||
|
|
||||||
# Setze die Berechtigungen für das Verzeichnis und die Dateien
|
# set permissions
|
||||||
sudo chmod -R 755 /home/${APPID}/lib
|
sudo chmod -R 755 /home/${APPID}/lib
|
||||||
sudo chown -R root:root /home/${APPID}/lib
|
sudo chown -R root:root /home/${APPID}/lib
|
||||||
|
|
||||||
# make libs available
|
# make libs available
|
||||||
echo "/home/${APPID}/lib" | sudo tee /etc/ld.so.conf.d/${APPID}.conf
|
echo "/home/${APPID}/lib" | sudo tee /etc/ld.so.conf.d/${APPID}.conf
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
||||||
echo "# Install ${APPID} done"
|
echo "# Install ${APPID} done"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@ -252,7 +252,7 @@ ExecStartPre=-/home/admin/config.scripts/bonus.${APPID}.sh prestart
|
|||||||
EnvironmentFile=${ENVFILE}
|
EnvironmentFile=${ENVFILE}
|
||||||
ExecStart=/home/${APPID}/bin/${APPID}
|
ExecStart=/home/${APPID}/bin/${APPID}
|
||||||
# Hack to ensure Alby Hub never uses more than 90% CPU
|
# Hack to ensure Alby Hub never uses more than 90% CPU
|
||||||
CPUQuota=90%sudo
|
CPUQuota=90%sudo
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
@ -268,8 +268,8 @@ WantedBy=multi-user.target
|
|||||||
# nginx configuration
|
# nginx configuration
|
||||||
# BACKGROUND is that the plain HTTP is served by your web app, but thru the nginx proxy it will be available
|
# BACKGROUND is that the plain HTTP is served by your web app, but thru the nginx proxy it will be available
|
||||||
# with (self-signed) HTTPS and with separate configs for Tor & Tor+HTTPS.
|
# with (self-signed) HTTPS and with separate configs for Tor & Tor+HTTPS.
|
||||||
|
|
||||||
echo "# setup nginx confing"
|
echo "# setup nginx config"
|
||||||
|
|
||||||
# write the HTTPS config
|
# write the HTTPS config
|
||||||
echo "
|
echo "
|
||||||
|
Loading…
Reference in New Issue
Block a user