Advertisement
Guest User

Untitled

a guest
May 19th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # change to Plex PMS directory on the nas (volume1 could be different)
  2. cd "/volume1/Plex/Library/Application Support/Plex Media Server"
  3. # stop Plex application for now
  4. sudo synopkg stop "Plex Media Server"
  5. # move away existing logs
  6. mv Logs Logs-bkp
  7. # list directory content
  8. # remember group and userid from user plex and group users
  9. ll -n
  10. # create mount point for the Logs directory with the uid listed above
  11. sudo mount -t tmpfs -o size=100M,mode=0777,gid=100,uid=1026 tmpfs "/volume1/Plex/Library/Application Support/Plex Media Server/Logs"
  12. # start Plex applikation again
  13. sudo synopkg start "Plex Media Server"
  14. # if it works, add the mount point to the fstab to have it ready on next restart
  15. sudo vi /etc/fstab
  16. # add line:
  17. > tmpfs "/volume1/Plex/Library/Application Support/Plex Media Server/Logs" tmpfs size=100M,mode=0777,gid=100,uid=1026 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement