From 57e7455a12acb008cec0a12fe00e0dea10d01f6e Mon Sep 17 00:00:00 2001 From: Neovoid Pineapple Date: Sat, 9 Dec 2023 15:12:37 +0000 Subject: [PATCH] Uploaded files --- README.md | 9 +++++++++ yt-local.service | 9 +++++++++ yt-local.sh | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 README.md create mode 100644 yt-local.service create mode 100644 yt-local.sh 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 +