mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
148fcb1bb8
Move "AmbientCapabilities=CAP_NET_BIND_SERVICE" to the "[Service]" section of the optional "lowport" unit drop-in file and package that drop-in in a separate, optionally installable jellyfin-server-lowports subpackage. This isolates the CAP_NET_BIND_SERVICE capability to only installations that desire it. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
16 lines
481 B
Desktop File
16 lines
481 B
Desktop File
[Unit]
|
|
After=network-online.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 ${JELLYFIN_WEB_OPT} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
|
|
TimeoutSec=15
|
|
Restart=on-failure
|
|
User=jellyfin
|
|
Group=jellyfin
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|