1. # Defaults for ps3mediaserver initscript
  2. # sourced by /etc/init/ps3mediaserver.conf
  3.  
  4. # Authors: Carlo D'Ippolito, Happy-Neko <happy.neko@gmail.com>
  5.  
  6. #
  7. # This is a POSIX shell fragment
  8. #
  9.  
  10. # Set whether to start or not PS3 Media Server at boot time.
  11. # Change to "yes" (case sensitive!) to enable daemon.
  12. PMS_START="yes"
  13.  
  14. # Change PMS_USER and PMS_PROFILE variables to run PS3 Media Server with a different user.
  15. #
  16. # To do this, please follow these three steps:
  17. # 1. if user doesn't exist, create a system user (e.g. ps3mediauser) with command:
  18. # adduser --system --group ps3mediauser
  19. # 2. change PMS_USER
  20. # 3. change PMS_PROFILE below to "/home/$PMS_USER/.config/ps3mediaserver"
  21. #
  22. # NOTE: Default config files will be copied to PMS_PROFILE
  23. # from /etc/skel/.config/ps3mediaserver during first progran run.
  24. # You may want to edit them aftewards.
  25. #
  26. # NOTE 2: After changing the user, PS3 Media Server will rebuild media library
  27. # if previously enabled.
  28. PMS_USER="donnie"
  29.  
  30. # Default location of PS3 Media Server profile files (PMS.conf and WEB.conf)
  31. # when it runs as daemon.
  32. #PMS_PROFILE="/root/.config/ps3mediaserver"
  33. PMS_PROFILE="/home/$PMS_USER/.config/ps3mediaserver"
  34.  
  35. # Memory limit for JVM (-Xmx option).
  36. # This is the Java heap memory allocated when daemon starts. It is the sum
  37. # of the transcode buffer memory plus all of the overhead memory (the actual
  38. # PS3 Media Server application, media library, iTunes support, Radio plugin,
  39. # etc). If you need the larger transcode buffer (better playback) or the extra
  40. # features, then you should increase the available heap size.
  41. PS3MS_MEM="768M"
  42.  
  43. # Extra java options for daemon, see PS3 Media Server documentation.
  44. # The default one is for headless mode.
  45. JAVA_OPTS="-Djava.awt.headless=true"
  46.  
  47. # Extra command options for daemon, see PS3 Media Server documentation
  48. DAEMON_OPTS=""