added UserNS=auto suggestion to quadlet for improved security

micha
2025-04-03 21:44:11 +02:00
parent 44dcd0f8d5
commit a122864408

@@ -84,6 +84,7 @@ TimeoutStartSec=900
[Container] [Container]
Image=ghcr.io/dmunozv04/isponsorblocktv:latest Image=ghcr.io/dmunozv04/isponsorblocktv:latest
Volume=/etc/containers/config/isponsorblocktv:/app/data Volume=/etc/containers/config/isponsorblocktv:/app/data
#UserNS=auto # uncomment to run under random uid to increase security
``` ```
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. 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.