Uploaded files
This commit is contained in:
commit
57e7455a12
9
README.md
Normal file
9
README.md
Normal file
|
@ -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`
|
||||
|
||||
|
9
yt-local.service
Normal file
9
yt-local.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Serves yt-local instance
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/nvpie/.local/bin/yt-local.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
3
yt-local.sh
Normal file
3
yt-local.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
socat UNIX-LISTEN:/srv/http/pages/yt-local,mode=660,fork TCP:localhost:5052
|
||||
|
Loading…
Reference in a new issue