From 1784777c50950867b4d1dc815655e29e6687756b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 3 Feb 2024 16:37:47 -0500 Subject: Fix naming of per-package files --- debian/conf/jellyfin.upstart | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/conf/jellyfin.upstart (limited to 'debian/conf/jellyfin.upstart') diff --git a/debian/conf/jellyfin.upstart b/debian/conf/jellyfin.upstart new file mode 100644 index 0000000..ef5bc9b --- /dev/null +++ b/debian/conf/jellyfin.upstart @@ -0,0 +1,20 @@ +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`" + . /etc/default/jellyfin + exec su -u $JELLYFIN_USER -c /usr/bin/jellyfin $JELLYFIN_ARGS +end script -- cgit