-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdc528c
commit 7f0e964
Showing
7 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
#!/command/with-contenv bash | ||
#shellcheck shell=bash | ||
|
||
echo "Starting map reassembler" | ||
cd /opt/iridium-toolkit/html | ||
if [[ -n $ENABLE_BEAM_MAP ]]; then | ||
echo "Starting beam map reassembler" | ||
cd /opt/iridium-toolkit/html | ||
|
||
if [[ -n $LOG_MAP ]]; then | ||
pypy3 -u /opt/iridium-toolkit/reassembler.py -i zmq: -m live-map 2>&1 | stdbuf -o0 awk '{print "[iridium-reassembler-map] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}' | ||
if [[ -n $LOG_MAP ]]; then | ||
pypy3 -u /opt/iridium-toolkit/reassembler.py -i zmq: -m live-map 2>&1 | stdbuf -o0 awk '{print "[iridium-reassembler-map] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}' | ||
else | ||
pypy3 -u /opt/iridium-toolkit/reassembler.py -i zmq: -m live-map &> /dev/null | ||
fi | ||
else | ||
pypy3 -u /opt/iridium-toolkit/reassembler.py -i zmq: -m live-map &> /dev/null | ||
echo "beam map not enabled" | ||
sleep infinity | ||
exit 0 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/command/with-contenv bash | ||
#shellcheck shell=bash | ||
|
||
echo "Starting mtmap-server" | ||
cd /opt/iridium-toolkit/html2 | ||
|
||
if [[ -n $LOG_MTMAP ]]; then | ||
python3 -m http.server --bind 0.0.0.0 8889 2>&1 | stdbuf -o0 awk '{print "[mtmap-server] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}' | ||
else | ||
python3 -m http.server --bind 0.0.0.0 8889 &> /dev/null | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
longrun |
Empty file.