You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
365 B
21 lines
365 B
6 years ago
|
description "jellyfin daemon"
|
||
6 years ago
|
|
||
|
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`"
|
||
6 years ago
|
. /etc/default/jellyfin
|
||
6 years ago
|
exec su -u $JELLYFIN_USER -c /usr/bin/jellyfin $JELLYFIN_ARGS
|
||
6 years ago
|
end script
|