jellyfin-server/debian/jellyfin.upstart
Joshua Boniface 8fcec19936 Rename numerous debian control elements
Replace the name emby/emby-server with jellyfin everywhere.
2018-12-09 16:51:38 -05:00

24 lines
360 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
end script
post-stop script
exec /usr/bin/jellyfin clear
end script