jellyfin/debian/emby-server.emby-server.upstart

24 lines
369 B
Plaintext
Raw Normal View History

2018-12-09 23:45:08 +00:00
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`"
2018-12-09 23:45:08 +00:00
exec /usr/bin/emby-server start
end script
post-stop script
exec /usr/bin/emby-server clear
end script