Add the yt-cipher service

This commit is contained in:
tcely
2026-01-11 08:06:45 -05:00
parent 0edaa571d3
commit f1902ed998
3 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1 @@
base

View File

@@ -0,0 +1,15 @@
#!/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

View File

@@ -0,0 +1 @@
longrun