summaryrefslogtreecommitdiffstats
path: root/abs/extra/plex-media-server/plex-media-server.install
blob: 4c40a8aa73781dd93213a4fb2afaa740d4bff63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  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
  add_service.sh plexmediaserver
}

post_remove() {
  remove_service.sh plexmediaserver
}

# vim: ts=2 sw=2 et: