mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-08-31 08:34:33 +02:00
20 lines
365 B
Text
20 lines
365 B
Text
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
|