emby-server.emby-server.default 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Defaults for emby initscript
  2. # sourced by /etc/init.d/emby-server and /usr/lib/emby-server/emby-server.sh
  3. # installed at /etc/default/emby-server by the maintainer scripts
  4. #
  5. # This is a POSIX shell fragment
  6. #
  7. ## Don't edit this file
  8. ## Edit user configuration in /etc/emby-server.conf to change
  9. ##
  10. ## EMBY_USER= #$EMBY_USER, username to run Emby under, the default is emby
  11. ## EMBY_GROUP= #$EMBY_GROUP, Emby server group where Emby user belongs
  12. ## EMBY_DIR= #$EMBY_DIR, the location of Emby program files the default is /usr/lib/emby-server
  13. ## EMBY_BIN= #$EMBY_BIN, full path of MediaBrowser.Server.Mono.exe the default is /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
  14. ## EMBY_DATA= #$EMBY_DATA, the location of Emby data, cache, logs, the default is /var/lib/emby-server
  15. ## EMBY_PIDFILE= #$EMBY_PIDFILE, the location of emby.pid, the default is /var/run/emby/emby-server.pid
  16. ## EMBY_ADD_OPTS= #$EMBY_ADD_OPTS, additional options to pass to the Emby server executable, beyond ffmpeg, ffprobe and restart
  17. ## MONO_BIN= #$MONO_BIN, full path of mono binary, the default is /usr/bin/mono-sgen
  18. ## MONO_OPTS= #$MONO_OPTS, list of additional options to pass to mono binary
  19. ## MONO_ENV= #$MONO_ENV, list of environment variables for running mono binary
  20. ##
  21. ## EXAMPLE if want to run as different user
  22. ## add EMBY_USER=username to /etc/emby-server.conf
  23. ## otherwise default emby is used
  24. EMBY_USER="emby"
  25. EMBY_GROUP="emby"
  26. EMBY_DIR="/usr/lib/emby-server"
  27. EMBY_BIN="/usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe"
  28. EMBY_DATA="/var/lib/emby-server"
  29. EMBY_PIDFILE="/var/run/emby-server.pid"
  30. EMBY_ADD_OPTS=""
  31. MONO_BIN="/usr/bin/mono-sgen"
  32. MONO_OPTS="--optimize=all"
  33. MONO_ENV="MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m"
  34. UMASK="002"