diff options
| author | Joshua Boniface <joshua@boniface.me> | 2018-12-09 16:41:49 -0500 |
|---|---|---|
| committer | Joshua Boniface <joshua@boniface.me> | 2018-12-09 19:05:33 -0500 |
| commit | a9a798f81a836e31a8b82eab19558d9b95e7a63f (patch) | |
| tree | 668e5c59203803e7dd25c149d00dcab80151d4c9 /debian/jellyfin.upstart | |
| parent | c8c35864fe5dbf5027a2d1e682abd72654d309e8 (diff) | |
Rename numerous debian control elements
Replace the name emby/emby-server with jellyfin everywhere.
Diffstat (limited to 'debian/jellyfin.upstart')
| -rw-r--r-- | debian/jellyfin.upstart | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/jellyfin.upstart b/debian/jellyfin.upstart new file mode 100644 index 0000000000..a192f61291 --- /dev/null +++ b/debian/jellyfin.upstart @@ -0,0 +1,23 @@ +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 |
