mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2026-01-31 06:41:05 +03:00
Added Quadlet instructions
@@ -55,6 +55,33 @@ docker run -d \
|
|||||||
-v /PATH_TO_YOUR_DATA_DIR:/app/data \
|
-v /PATH_TO_YOUR_DATA_DIR:/app/data \
|
||||||
ghcr.io/dmunozv04/isponsorblocktv
|
ghcr.io/dmunozv04/isponsorblocktv
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Option 3: Quadlet
|
||||||
|
|
||||||
|
Before setting up the container, you will need to generate configs. Follow the instructions in the earlier docker steps, optionally replacing `docker` with podman. Place the generated configs in `/etc/containers/config/isponsorblocktv/`
|
||||||
|
|
||||||
|
You can set up a quadlet service using the following config:
|
||||||
|
|
||||||
|
```systemd
|
||||||
|
[Unit]
|
||||||
|
Description="Sponsorblock for networked youtube clients"
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target default.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=900
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Image=ghcr.io/dmunozv04/isponsorblocktv:latest
|
||||||
|
Volume=/etc/containers/config/isponsorblocktv:/app/data
|
||||||
|
```
|
||||||
|
|
||||||
|
Place that in a file at `/etc/containers/systemd/isponsorblocktv.container`, run `systemctl daemon-reload`, and you should now have a systemd service titled `isponsorblocktv` that you can start, stop, and enable/disable the same as any other systemd service.
|
||||||
|
|
||||||
# From source
|
# From source
|
||||||
## Install
|
## Install
|
||||||
You need to install [python](https://www.python.org/downloads/) version 3.8 or higher first, and to make it available in your PATH. After, clone the repo.
|
You need to install [python](https://www.python.org/downloads/) version 3.8 or higher first, and to make it available in your PATH. After, clone the repo.
|
||||||
|
|||||||
Reference in New Issue
Block a user