commit 57e7455a12acb008cec0a12fe00e0dea10d01f6e Author: Neovoid Pineapple Date: Sat Dec 9 15:12:37 2023 +0000 Uploaded files diff --git a/README.md b/README.md new file mode 100644 index 0000000..205348d --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +my setup of yt-local service +put `yt-local.service` in `~/.config/systemd/user/` directory +and `yt-local.sh` in `~/.local/bin/` directory + +use this image `docker.io/rusian/yt-local:latest` + +with this command podman or `docker -d --name yt-local -p 5052:8080 yt-local` + + diff --git a/yt-local.service b/yt-local.service new file mode 100644 index 0000000..c996e85 --- /dev/null +++ b/yt-local.service @@ -0,0 +1,9 @@ +[Unit] +Description=Serves yt-local instance + +[Service] +ExecStart=/home/nvpie/.local/bin/yt-local.sh + +[Install] +WantedBy=default.target + diff --git a/yt-local.sh b/yt-local.sh new file mode 100644 index 0000000..09a0357 --- /dev/null +++ b/yt-local.sh @@ -0,0 +1,3 @@ +#!/bin/sh +socat UNIX-LISTEN:/srv/http/pages/yt-local,mode=660,fork TCP:localhost:5052 +