diff options
| author | Brian J. Murrell <brian@interlinx.bc.ca> | 2021-04-22 10:05:43 -0400 |
|---|---|---|
| committer | Brian J. Murrell <brian@interlinx.bc.ca> | 2021-04-22 10:07:51 -0400 |
| commit | a3a4689af22693b535e80b98624831866fda2a61 (patch) | |
| tree | 1df929af422aba83cad2fe99fdc16961137047a7 /fedora | |
| parent | 95ab603a40b96499e3a3b732f31aacc458ca8a2c (diff) | |
Allow to bind to priveleged ports (i.e. 80/443)
Add "AmbientCapabilities=CAP_NET_BIND_SERVICE" to the "[Service]"
section of the unit file to allow the server to bind to ports 80 and 443.
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
Diffstat (limited to 'fedora')
| -rw-r--r-- | fedora/jellyfin.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fedora/jellyfin.service b/fedora/jellyfin.service index b092ebf2f..bde124a0f 100644 --- a/fedora/jellyfin.service +++ b/fedora/jellyfin.service @@ -3,6 +3,7 @@ After=network.target Description=Jellyfin is a free software media system that puts you in control of managing and streaming your media. [Service] +AmbientCapabilities=CAP_NET_BIND_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} |
