diff options
| author | Joshua Boniface <joshua@boniface.me> | 2018-12-09 21:58:01 -0500 |
|---|---|---|
| committer | Joshua Boniface <joshua@boniface.me> | 2018-12-09 21:58:01 -0500 |
| commit | 7d0f5b625998aba0888bf6dd81d9eb83f5ca2134 (patch) | |
| tree | 0535b1d30c9cf3b9bf50038c2b41c7678db57c02 /debian/conf | |
| parent | 972008d1dc023d5f4bd3a5261504609ee607ab56 (diff) | |
Organize supplementary files better
Diffstat (limited to 'debian/conf')
| -rw-r--r-- | debian/conf/jellyfin | 37 | ||||
| -rw-r--r-- | debian/conf/jellyfin.conf | 24 |
2 files changed, 61 insertions, 0 deletions
diff --git a/debian/conf/jellyfin b/debian/conf/jellyfin new file mode 100644 index 000000000..57f424c06 --- /dev/null +++ b/debian/conf/jellyfin @@ -0,0 +1,37 @@ +# Defaults for jellyfin initscript +# sourced by /etc/init.d/jellyfin and /usr/lib/jellyfin/jellyfin.sh +# installed at /etc/default/jellyfin by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +## Don't edit this file +## Edit user configuration in /etc/jellyfin.conf to change +## +## JELLYFIN_USER= #$JELLYFIN_USER, username to run Jellyfin under, the default is jellyfin +## JELLYFIN_GROUP= #$JELLYFIN_GROUP, Jellyfin group where Jellyfin user belongs +## JELLYFIN_DIR= #$JELLYFIN_DIR, the location of Jellyfin program files the default is /usr/lib/jellyfin +## JELLYFIN_BIN= #$JELLYFIN_BIN, full path of MediaBrowser.Server.Mono.exe the default is /usr/lib/jellyfin/bin/MediaBrowser.Server.Mono.exe +## JELLYFIN_DATA= #$JELLYFIN_DATA, the location of Jellyfin data, cache, logs, the default is /var/lib/jellyfin +## JELLYFIN_PIDFILE= #$JELLYFIN_PIDFILE, the location of jellyfin.pid, the default is /var/run/jellyfin/jellyfin.pid +## JELLYFIN_ADD_OPTS= #$JELLYFIN_ADD_OPTS, additional options to pass to the Jellyfin executable, beyond ffmpeg, ffprobe and restart +## MONO_BIN= #$MONO_BIN, full path of mono binary, the default is /usr/bin/mono-sgen +## MONO_OPTS= #$MONO_OPTS, list of additional options to pass to mono binary +## MONO_ENV= #$MONO_ENV, list of environment variables for running mono binary +## +## EXAMPLE if want to run as different user +## add JELLYFIN_USER=username to /etc/jellyfin.conf +## otherwise default jellyfin is used + +JELLYFIN_USER="jellyfin" +JELLYFIN_GROUP="jellyfin" +JELLYFIN_DIR="/usr/lib/jellyfin" +JELLYFIN_BIN="/usr/lib/jellyfin/bin/MediaBrowser.Server.Mono.exe" +JELLYFIN_DATA="/var/lib/jellyfin" +JELLYFIN_PIDFILE="/var/run/jellyfin.pid" +JELLYFIN_ADD_OPTS="" +MONO_BIN="/usr/bin/mono-sgen" +MONO_OPTS="--optimize=all" +MONO_ENV="MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m" +UMASK="002" diff --git a/debian/conf/jellyfin.conf b/debian/conf/jellyfin.conf new file mode 100644 index 000000000..ef5c424e8 --- /dev/null +++ b/debian/conf/jellyfin.conf @@ -0,0 +1,24 @@ +# Override defaults for jellyfin initscript +# sourced by /etc/init.d/jellyfin and /usr/bin/jellyfin +# installed at /etc/jellyfin.conf by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +## To change the defaults add any of the following settings below the comments +## +## JELLYFIN_USER= #$JELLYFIN_USER, username to run Jellyfin under, the default is jellyfin +## JELLYFIN_GROUP= #$JELLYFIN_GROUP, Jellyfin group where Jellyfin user belongs +## JELLYFIN_DIR= #$JELLYFIN_DIR, the location of Jellyfin program files the default is /usr/lib/jellyfin +## JELLYFIN_BIN= #$JELLYFIN_BIN, full path of MediaBrowser.Server.Mono.exe the default is /usr/lib/jellyfin/bin/MediaBrowser.Server.Mono.exe +## JELLYFIN_DATA= #$JELLYFIN_DATA, the location of Jellyfin data, cache, logs, the default is /var/lib/jellyfin +## JELLYFIN_PIDFILE= #$JELLYFIN_PIDFILE, the location of jellyfin.pid, the default is /var/run/jellyfin/jellyfin.pid +## JELLYFIN_ADD_OPTS= #$JELLYFIN_ADD_OPTS, additional options to pass to the Jellyfin executable, beyond ffmpeg, ffprobe and restart +## MONO_BIN= #$MONO_BIN, full path of mono binary, the default is /usr/bin/mono-sgen +## MONO_OPTS= #$MONO_OPTS, list of additional options to pass to mono binary +## MONO_ENV= #$MONO_ENV, list of environment variables for running mono binary +## +## EXAMPLE if want to run as different user +## add JELLYFIN_USER=username +## otherwise default jellyfin is used |
