mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
23 lines
369 B
Text
23 lines
369 B
Text
description "emby-server 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/emby-server start
|
|
end script
|
|
|
|
post-stop script
|
|
exec /usr/bin/emby-server clear
|
|
end script
|