first commit
build / test (push) Canceled after 0s
build / deb (amd64) (push) Canceled after 0s
build / deb (arm64) (push) Canceled after 0s
build / deb (armhf) (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-16 16:19:21 +01:00
commit c30064b531
93 files changed
+26367

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
[Unit]
Description=simply-dvb – DVB-T/T2/C server (HLS, M3U, EPG)
Documentation=file:///usr/share/doc/simply-dvb/README.md
Wants=network-online.target
After=network-online.target systemd-udev-settle.service
[Service]
Type=simple
User=simply-dvb
Group=simply-dvb
SupplementaryGroups=video
EnvironmentFile=-/etc/default/simply-dvb
Environment=RUST_LOG=simply_dvb=info,warn
ExecStart=/usr/bin/simply-dvb serve
Restart=on-failure
RestartSec=3
StateDirectory=simply-dvb
StateDirectoryMode=0750
WorkingDirectory=/var/lib/simply-dvb
UMask=0027
# Access only to DVB devices (and DRM – ffmpeg/VAAPI acceleration)
DevicePolicy=closed
DeviceAllow=char-DVB rw
DeviceAllow=char-drm rw
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/simply-dvb
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictNamespaces=true
RestrictRealtime=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
LockPersonality=true
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target