a73d255f51
* 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
21 lines
365 B
Plaintext
21 lines
365 B
Plaintext
description "jellyfin daemon"
|
|
|
|
start on (local-filesystems and net-device-up IFACE!=lo)
|
|
stop on runlevel [!2345]
|
|
|
|
console log
|
|
respawn
|
|
respawn limit 10 5
|
|
|
|
kill timeout 20
|
|
|
|
script
|
|
set -x
|
|
echo "Starting $UPSTART_JOB"
|
|
|
|
# Log file
|
|
logger -t "$0" "DEBUG: `set`"
|
|
. /etc/default/jellyfin
|
|
exec su -u $JELLYFIN_USER -c /usr/bin/jellyfin $JELLYFIN_ARGS
|
|
end script
|