From a73d255f51f135adbc2c352fef79f776ce9fcb02 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 14 Dec 2018 21:21:48 -0500 Subject: Enable self-contained binary mode (#160) * Build self-contained Debian linux-x64 binary * Update initscripts to use self-contained binary The binary is declared in the units intentionally rather than using the variable extrapolation from before, to avoid confusion since these can't really be moved reasonably. * With combined binary name, use pgrep instead * Remove dotnet-runtime dependency * Move the compiled scb to usr/bin * Update binary location for upstart/systemd * Move binary path; fix pidfile handling * Entirely remove the temporary usr/ dir * Don't move the compiled binary * Create /usr/bin symlink * Use the variable here * Update architecture to any * Add libcurl4-openssl build dependency * Update the build Dockerfile to install builddeps --- debian/conf/jellyfin | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'debian/conf') diff --git a/debian/conf/jellyfin b/debian/conf/jellyfin index 5c26d12c3e..fb00e7f65c 100644 --- a/debian/conf/jellyfin +++ b/debian/conf/jellyfin @@ -15,8 +15,6 @@ # General options # -# Path to the jellyfin.dll executable -JELLYFIN_EXE="/usr/lib/jellyfin/bin/jellyfin.dll" # Data directory JELLYFIN_DATA="/var/lib/jellyfin" # Restart script for in-app server control @@ -30,7 +28,5 @@ JELLYFIN_ADD_OPTS="" # Application username JELLYFIN_USER="jellyfin" -# .NET Core runtime binary -JELLYFIN_DOTNET="/usr/bin/dotnet" # Full application command -JELLYFIN_COMMAND="$JELLYFIN_EXE -programdata $JELLYFIN_DATA -restartpath $JELLYFIN_RESTART_SCRIPT $JELLYFIN_ADD_OPTS" +JELLYFIN_ARGS="-programdata $JELLYFIN_DATA -restartpath $JELLYFIN_RESTART_SCRIPT $JELLYFIN_ADD_OPTS" -- cgit v1.2.3