Skip to content

Commit

Permalink
Move dongleman_spool call to the init section
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-mironov committed Jun 12, 2022
1 parent 925f12f commit e527b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ nix-build -A dongle-monitor -o result-dongle-monitor
# 3. Allocate static resources

"$CWD/result-python/bin/telegram_check.py"
"$CWD/result-python/bin/dongleman_spool.py"
"$CWD/result-python/bin/dongleman_daemon.py" --check
mkdir /tmp/tg2sip || true
cp -f "$CWD/result-tg2sip-conf/etc/settings.ini" /tmp/tg2sip/settings.ini
Expand All @@ -48,7 +49,6 @@ sudo mkdir /tmp/asterisk

# 5. Run the dongleman

"$CWD/result-python/bin/dongleman_spool.py"
( while true; do
"$CWD/result-python/bin/dongleman_daemon.py" || true
sleep 1
Expand Down

0 comments on commit e527b10

Please sign in to comment.