Is there a way to override the default installation directory of /var/lib to /opt/plexmediaserver
There is no way to override it at installation however you can use the standard systemd override.conf file to move them after that first installation.
Example:
/etc/systemd/system/plexmediaserver.service.d/override.conf
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/opt/plexmediaserver/Library/Application Support"
With Plex stopped,
- Move
Libraryfrom/var/lib/plexmediaserverto/opt/plexmediaserver - Ensure user
plex:plexowns/opt/plexmediaserver - Ensure
/optis mounted withexecbit set (so the codecs work)
Thank you so much!!! Testing it now!!!
I keep a collection of tips & tricks
Everything appears to be working I relocated it to
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/opt/plexmediaserver/”
Make certain to check your transcoding codecs (the exec bit in fstab)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.