mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
parent
1c3c444361
commit
d7fe0fe04f
@ -374,7 +374,10 @@ if [ "${sphinxrelay}" != "${choice}" ]; then
|
|||||||
anychange=1
|
anychange=1
|
||||||
sudo -u admin /home/admin/config.scripts/bonus.sphinxrelay.sh ${choice}
|
sudo -u admin /home/admin/config.scripts/bonus.sphinxrelay.sh ${choice}
|
||||||
if [ "${choice}" = "on" ]; then
|
if [ "${choice}" = "on" ]; then
|
||||||
sudo -u admin /home/admin/config.scripts/bonus.sphinxrelay.sh menu
|
whiptail --title " Installed Sphinx Server" --msgbox "\
|
||||||
|
Sphinx Server was installed.\n
|
||||||
|
Use the new 'SPHINX' entry in Main Menu for more info.\n
|
||||||
|
" 10 35
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Sphinx Relay unchanged."
|
echo "Sphinx Relay unchanged."
|
||||||
|
@ -161,6 +161,16 @@ else
|
|||||||
echo "- SPECTER is OFF by config"
|
echo "- SPECTER is OFF by config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${sphinxrelay}" = "on" ]; then
|
||||||
|
echo ""
|
||||||
|
echo "*** LAST 20 SPHINX LOGS ***"
|
||||||
|
echo "sudo journalctl -u sphinxrelay -b --no-pager -n20"
|
||||||
|
sudo journalctl -u sphinxrelay -b --no-pager -n20
|
||||||
|
echo ""
|
||||||
|
else
|
||||||
|
echo "- SPHINX is OFF by config"
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** MOUNTED DRIVES ***"
|
echo "*** MOUNTED DRIVES ***"
|
||||||
df -T
|
df -T
|
||||||
|
@ -26,7 +26,7 @@ if [ "$1" = "menu" ]; then
|
|||||||
whiptail --title " Warning " \
|
whiptail --title " Warning " \
|
||||||
--yes-button "Back" \
|
--yes-button "Back" \
|
||||||
--no-button "Continue Anyway" \
|
--no-button "Continue Anyway" \
|
||||||
--yesno "Your IP2TOR+LetsEncrypt may have problems:\n${ip2torWarn}\n\nCheck if locally responding: http://${localIP}:${httpPort}\n\nCheck if service is reachable over Tor:\n${toraddress}" 14 72
|
--yesno "Your SPHINX SERVER may have problems:\n${ip2torWarn}\n\nCheck if locally responding: http://${localIP}:${httpPort}\n\nCheck if service is reachable over Tor:\n${toraddress}" 14 72
|
||||||
if [ "$?" != "1" ]; then
|
if [ "$?" != "1" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@ -365,7 +365,7 @@ User=sphinxrelay
|
|||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
StandardOutput=null
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user