Files
Mateusz Gruszczyński c30064b531
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
first commit
2026-11-16 16:19:21 +01:00

43 lines
1.1 KiB
Desktop File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[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