Skip to content

Commit

Permalink
test perplex change
Browse files Browse the repository at this point in the history
1activegeek committed Aug 22, 2024
1 parent 5212294 commit 39533cd
Showing 5 changed files with 15 additions and 15 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -16,8 +16,10 @@ COPY root/ /
RUN if [ "$ARCH_VAR" = "amd64" ]; then ARCH_VAR=linux-x86_64; elif [ "$ARCH_VAR" = "arm64" ]; then ARCH_VAR=linux-aarch64; fi \
&& curl -s https://api.github.com/repos/philippe44/AirConnect/releases/latest | grep browser_download_url | cut -d '"' -f 4 | xargs curl -L -o airconnect.zip \
&& unzip airconnect.zip -d /tmp/ \
&& mv /tmp/airupnp-$ARCH_VAR /bin/airupnp-$ARCH_VAR \
&& mv /tmp/aircast-$ARCH_VAR /bin/aircast-$ARCH_VAR \
&& chmod +x /bin/airupnp-$ARCH_VAR \
&& chmod +x /bin/aircast-$ARCH_VAR \
&& rm -r /tmp/*
&& mv /tmp/airupnp-$ARCH_VAR /usr/bin/airupnp-docker \
&& mv /tmp/aircast-$ARCH_VAR /usr/bin/aircast-docker \
&& chmod +x /usr/bin/airupnp-docker \
&& chmod +x /usr/bin/aircast-docker \
&& rm -r /tmp/*

ENTRYPOINT ["/init"]
8 changes: 4 additions & 4 deletions root/etc/s6-overlay/s6-rc.d/svc-aircast/run
Original file line number Diff line number Diff line change
@@ -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
exec /bin/aircast-linux-x86_64
elif [ "$AIRCAST_VAR" = "kill" ]; then
echo "AIRCAST_VAR set to kill, skipping aircast service launch"
exit 0
else
echo "AIRCAST_VAR present, using custom user aircast launch variables"
/bin/aircast-linux-x86_64 $AIRCAST_VAR
fi
sleep infinity
exec /bin/aircast-linux-x86_64 $AIRCAST_VAR
fi
1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-aircast/up

This file was deleted.

8 changes: 4 additions & 4 deletions root/etc/s6-overlay/s6-rc.d/svc-airupnp/run
Original file line number Diff line number Diff line change
@@ -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
exec /bin/airupnp-linux-x86_64 -l 1000:2000
elif [ "$AIRUPNP_VAR" = "kill" ]; then
echo "AIRUPNP_VAR set to kill, skipping airupnp service launch"
exit 0
else
echo "AIRUPNP_VAR present, using custom user airupnp launch variables"
/bin/airupnp-linux-x86_64 $AIRUPNP_VAR
fi
sleep infinity
exec /bin/airupnp-linux-x86_64 $AIRUPNP_VAR
fi
1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-airupnp/up

This file was deleted.

0 comments on commit 39533cd

Please sign in to comment.