mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
parent
1c3c444361
commit
d7fe0fe04f
@ -374,7 +374,10 @@ if [ "${sphinxrelay}" != "${choice}" ]; then
|
||||
anychange=1
|
||||
sudo -u admin /home/admin/config.scripts/bonus.sphinxrelay.sh ${choice}
|
||||
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
|
||||
else
|
||||
echo "Sphinx Relay unchanged."
|
||||
|
@ -161,6 +161,16 @@ else
|
||||
echo "- SPECTER is OFF by config"
|
||||
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 "*** MOUNTED DRIVES ***"
|
||||
df -T
|
||||
|
@ -26,7 +26,7 @@ if [ "$1" = "menu" ]; then
|
||||
whiptail --title " Warning " \
|
||||
--yes-button "Back" \
|
||||
--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
|
||||
exit 0
|
||||
fi
|
||||
@ -365,7 +365,7 @@ User=sphinxrelay
|
||||
Restart=always
|
||||
TimeoutSec=120
|
||||
RestartSec=30
|
||||
StandardOutput=null
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user