summaryrefslogtreecommitdiffstats
path: root/main/tvheadend/tvheadend.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/tvheadend/tvheadend.pre-install')
-rw-r--r--main/tvheadend/tvheadend.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/tvheadend/tvheadend.pre-install b/main/tvheadend/tvheadend.pre-install
new file mode 100644
index 000000000..c91e1eda9
--- /dev/null
+++ b/main/tvheadend/tvheadend.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+adduser -H -h /usr/share/tvheadend -g tvheadend -D -s /bin/false tvheadend 2>/dev/null
+addgroup tvheadend video 2>/dev/null
+exit 0