Skip to content

Commit

Permalink
test forking
Browse files Browse the repository at this point in the history
  • Loading branch information
1activegeek committed Aug 22, 2024
1 parent 2315133 commit d654881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-aircast/run
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Check for VAR - default, kill, custom
if [ -z "$AIRCAST_VAR" ]; then
echo "No AIRCAST_VAR present, continuing with standard aircast launch variables"
/bin/aircast-linux-x86_64
/bin/aircast-linux-x86_64 &
elif [ "$AIRCAST_VAR" = "kill" ]; then
echo "AIRCAST_VAR set to kill, skipping aircast service launch"
sleep infinity
else
echo "AIRCAST_VAR present, using custom user aircast launch variables"
/bin/aircast-linux-x86_64 $AIRCAST_VAR
/bin/aircast-linux-x86_64 $AIRCAST_VAR &
fi
4 changes: 2 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-airupnp/run
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Check for VAR - default, kill, custom
if [ -z "$AIRUPNP_VAR" ]; then
echo "No AIRUPNP_VAR present, continuing with standard airupnp launch variables"
/bin/airupnp-linux-x86_64 -l 1000:2000
/bin/airupnp-linux-x86_64 -l 1000:2000 &
elif [ "$AIRUPNP_VAR" = "kill" ]; then
echo "AIRUPNP_VAR set to kill, skipping airupnp service launch"
sleep infinity
else
echo "AIRUPNP_VAR present, using custom user airupnp launch variables"
/bin/airupnp-linux-x86_64 $AIRUPNP_VAR
/bin/airupnp-linux-x86_64 $AIRUPNP_VAR &
fi

0 comments on commit d654881

Please sign in to comment.