summaryrefslogtreecommitdiffstats
path: root/abs/extra/plex-media-server/plex-media-server.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-04-11 14:25:38 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-04-11 14:25:38 (GMT)
commit08d85eb45091745f5a5b1fe6bac9ec181f5b1c9b (patch)
tree000fe20831e14b689c48a6a51fce65eb3eaaae2d /abs/extra/plex-media-server/plex-media-server.install
parent46c3a59e91d574f90e5112dc1e7ca637eff3dce7 (diff)
downloadlinhes_pkgbuild-08d85eb45091745f5a5b1fe6bac9ec181f5b1c9b.zip
linhes_pkgbuild-08d85eb45091745f5a5b1fe6bac9ec181f5b1c9b.tar.gz
linhes_pkgbuild-08d85eb45091745f5a5b1fe6bac9ec181f5b1c9b.tar.bz2
plex-media-server: adjust sysusers
Diffstat (limited to 'abs/extra/plex-media-server/plex-media-server.install')
-rw-r--r--abs/extra/plex-media-server/plex-media-server.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/extra/plex-media-server/plex-media-server.install b/abs/extra/plex-media-server/plex-media-server.install
index cc8d2d8..e626eda 100644
--- a/abs/extra/plex-media-server/plex-media-server.install
+++ b/abs/extra/plex-media-server/plex-media-server.install
@@ -1,5 +1,5 @@
post_install() {
- systemd-sysusers plex.sysusers
+ systemd-sysusers plex.conf
[[ -d /data/storage/disk0/media/plex ]] || install -dm 750 -o plex -g plex /data/storage/disk0/media/plex
[[ -d /data/storage/disk0/media/plex/tmp ]] || install -dm 750 -o plex -g plex /data/storage/disk0/media/plex/tmp
[[ -d /data/storage/disk0/media/plex ]] && chown -R plex:plex /data/storage/disk0/media/plex
@@ -7,6 +7,7 @@ post_install() {
}
post_upgrade() {
+ systemd-sysusers plex.conf
[[ -d /data/storage/disk0/media/plex ]] && chown -R plex:plex /data/storage/disk0/media/plex
}