summarylogtreecommitdiffstats
path: root/emby-server.install
diff options
context:
space:
mode:
authorNicola Hinssen2017-10-22 19:04:16 +0200
committerNicola Hinssen2017-10-22 19:04:16 +0200
commitbc1beb3844c63c455d7853609c321cbbb61aeec9 (patch)
treebce9b361d3e3ddd63de0dba72e35d11861c4012d /emby-server.install
downloadaur-bc1beb3844c63c455d7853609c321cbbb61aeec9.tar.gz
Initial
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: