aboutsummaryrefslogtreecommitdiff
path: root/apks/invidious/invidious.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'apks/invidious/invidious.pre-install')
-rw-r--r--apks/invidious/invidious.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/apks/invidious/invidious.pre-install b/apks/invidious/invidious.pre-install
new file mode 100644
index 0000000..bce4a4e
--- /dev/null
+++ b/apks/invidious/invidious.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S invidious 2>/dev/null
+adduser -S -D -h /usr/share/webapps/invidious -s /sbin/nologin -G invidious \
+ -g invidious invidious 2>/dev/null
+
+exit 0