Files
tubesync/config/root/etc/s6-overlay/s6-rc.d/yt-cipher/run
2026-01-11 08:06:45 -05:00

16 lines
275 B
Plaintext
Executable File

#!/command/with-contenv bash
set -e
cd /app/yt-cipher
chown -R root:app .
command -v deno >/dev/null || \
/app/install_deno.sh
HOST=127.0.0.1
PORT=8011
export HOST PORT
exec s6-setuidgid app \
deno run --allow-env --allow-net --allow-read --allow-write server.ts