aboutsummaryrefslogtreecommitdiff
path: root/apks/jellyfin/jellyfin.pre-install
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-26 15:20:41 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-26 15:20:41 +0100
commit49e92cf705771c2a47fed50f95b42ab65a49e77a (patch)
treebfea35471a544613b130fa77a8e4ca3f0427e243 /apks/jellyfin/jellyfin.pre-install
parentb13ca1652f870af62f05fbb7d455aab1898eab0a (diff)
downloadapkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.tar.gz
apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.tar.bz2
apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.zip
fix: Add jellyfin again
Diffstat (limited to 'apks/jellyfin/jellyfin.pre-install')
-rw-r--r--apks/jellyfin/jellyfin.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/apks/jellyfin/jellyfin.pre-install b/apks/jellyfin/jellyfin.pre-install
new file mode 100644
index 0000000..6e64716
--- /dev/null
+++ b/apks/jellyfin/jellyfin.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+user=jellyfin
+group=jellyfin
+
+addgroup -S $group 2>/dev/null
+adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null
+
+exit 0