aboutsummaryrefslogtreecommitdiff
path: root/deployment/fedora-package-x64/pkg-src/jellyfin.service
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/fedora-package-x64/pkg-src/jellyfin.service')
-rw-r--r--deployment/fedora-package-x64/pkg-src/jellyfin.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/deployment/fedora-package-x64/pkg-src/jellyfin.service b/deployment/fedora-package-x64/pkg-src/jellyfin.service
new file mode 100644
index 0000000000..0ece5b57f4
--- /dev/null
+++ b/deployment/fedora-package-x64/pkg-src/jellyfin.service
@@ -0,0 +1,15 @@
+[Unit]
+After=network.target
+Description=Jellyfin is a free software media system that puts you in control of managing and streaming your media.
+
+[Service]
+EnvironmentFile=/etc/sysconfig/jellyfin
+WorkingDirectory=/var/lib/jellyfin
+ExecStart=/usr/bin/jellyfin -programdata ${JELLYFIN_DATA_DIRECTORY} -configdir ${JELLYFIN_CONFIG_DIRECTORY} -logdir ${JELLYFIN_LOG_DIRECTORY} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_ADD_OPTS} ${JELLYFIN_FFMPEG}
+TimeoutSec=15
+Restart=on-failure
+User=jellyfin
+Group=jellyfin
+
+[Install]
+WantedBy=multi-user.target