summarylogtreecommitdiffstats
path: root/emby-server.install
diff options
context:
space:
mode:
authorAndrew Rabert2017-08-05 21:19:18 -0400
committerAndrew Rabert2017-08-05 21:19:18 -0400
commite22800377d5f7da555cb51f55fd575b0068718f5 (patch)
treef57556b4998c42963ac78134ca6f6bfcb97e582a /emby-server.install
downloadaur-e22800377d5f7da555cb51f55fd575b0068718f5.tar.gz
init
Diffstat (limited to 'emby-server.install')
-rw-r--r--emby-server.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/emby-server.install b/emby-server.install
new file mode 100644
index 000000000000..e443a6f4118b
--- /dev/null
+++ b/emby-server.install
@@ -0,0 +1,18 @@
+post_install() {
+ getent group emby > /dev/null 2>&1 || groupadd -g 422 emby
+ getent passwd emby > /dev/null 2>&1 || useradd -c 'Emby Media Server' -u 422 -g emby -d /var/lib/emby -s /usr/bin/nologin emby
+ passwd -l emby > /dev/null
+
+cat <<EOF
+
+Emby is not compatible with the 10-bit versionof libx264. Please stick to the
+8-bit version if you plan on using emby's transcoding features.
+
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: