mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
21 lines
364 B
Plaintext
21 lines
364 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`"
|
|
exec /usr/bin/jellyfin start
|
|
exec /usr/bin/dotnet /usr/lib/jellyfin/bin/EmbyServer.dll
|
|
end script
|