Several new and updated ebuilds

This commit is contained in:
layman
2020-09-03 10:18:42 +02:00
parent 918593aa51
commit 4f2e133d1c
20 changed files with 613 additions and 4 deletions
@@ -0,0 +1,26 @@
[Unit]
Description=tvheadend
After=network.target
[Service]
Type=simple
User=tvheadend
Group=video
RuntimeDirectory=tvheadend
PIDFile=/run/tvheadend/tvheadend.pid
EnvironmentFile=/etc/conf.d/tvheadend
ExecStart=/usr/bin/tvheadend -p /run/tvheadend/tvheadend.pid -c "${TVHEADEND_CONFIG}" ${TVHEADEND_OPTIONS}
TimeoutStartSec=1m
TimeoutStopSec=20s
Restart=always
RestartSec=5s
DevicePolicy=closed
DeviceAllow=char-DVB rw
DeviceAllow=char-drm rw
RestrictAddressFamilies=AF_INET AF_INET6
ProtectSystem=yes
ProtectHome=yes
NoNewPrivileges=yes
[Install]
WantedBy=multi-user.target