Update app.sh
This commit is contained in:
@@ -2,6 +2,21 @@
|
|||||||
|
|
||||||
echo "Munin-bitcoin starting..."
|
echo "Munin-bitcoin starting..."
|
||||||
|
|
||||||
|
mkdir -p /tmp/munin-web
|
||||||
|
|
||||||
|
cat > /tmp/munin-web/index.html <<EOF
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
<h1>Munin-bitcoin</h1>
|
||||||
|
<p>Service is running.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
echo "Starting web interface..."
|
||||||
|
|
||||||
|
busybox httpd -f -p 80 -h /tmp/munin-web &
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
echo "Munin-bitcoin is running"
|
echo "Munin-bitcoin is running"
|
||||||
|
|||||||
Reference in New Issue
Block a user