mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-25 18:40:06 -04:00
nginx needs to serve downloads from the media directory.
This commit is contained in:
parent
04dbca7bb7
commit
00c4e6ece0
9 changed files with 12 additions and 15 deletions
4
help.sh
4
help.sh
|
|
@ -173,13 +173,13 @@ if [ -f /etc/systemd/system/wrolpi-app.service ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if curl -s http://0.0.0.0:5000 | grep -i wrolpi >/dev/null; then
|
||||
if curl -s http://0.0.0.0:3000 | grep -i wrolpi >/dev/null; then
|
||||
echo "OK: WROLPi app responded with UI"
|
||||
else
|
||||
echo "FAILED: WROLPi app did not respond with UI"
|
||||
fi
|
||||
|
||||
if curl -s http://0.0.0.0:5000/epub/epub.html | grep -i epub.js >/dev/null; then
|
||||
if curl -s http://0.0.0.0:3000/epub/epub.html | grep -i epub.js >/dev/null; then
|
||||
echo "OK: WROLPi app responded with ebook interface"
|
||||
else
|
||||
echo "FAILED: WROLPi app did not respond with ebook interface"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue