fix get_openskydb so it indeed runs in the background

This commit is contained in:
kx1t
2025-02-05 15:51:17 -05:00
parent 0a93cda19c
commit 15e8c0cbda
11 changed files with 6 additions and 4 deletions

View File

@@ -1 +0,0 @@
oneshot

View File

@@ -1,2 +0,0 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/50-get-openskydb

View File

@@ -0,0 +1,2 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/get-openskydb

View File

@@ -0,0 +1 @@
longrun

View File

@@ -17,7 +17,7 @@ source "/usr/share/planefence/persist/planefence.config"
if chk_disabled "${OPENSKYDB_DOWNLOAD:-enabled}"; then
"${s6wrap[@]}" echo "OpenSky Database download disabled. Skipping."
exit 0
stop_service
fi
# ----------------------------
@@ -69,3 +69,5 @@ else
ln -sf "/usr/share/planefence/persist/.internal/$savedfile" "/run/OpenSkyDB.csv"
fi
fi
stop_service