File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,11 +141,11 @@ in {
141141 TimeoutSec = 15 ;
142142 SuccessExitStatus = "0 143" ;
143143
144- ExecStartPre = pkgs . writeShellScript "jellyfin-setup-config" ''
145- ${ pkgs . coreutils } /bin/install -m 640 /etc/jellyfin/network.xml.template '${ cfg . configDir } /network.xml'
146- ${ pkgs . coreutils } /bin/install -m 640 /etc/jellyfin/branding.xml.template '${ cfg . configDir } /branding.xml'
147- ${ pkgs . coreutils } /bin/install -m 640 /etc/jellyfin/encoding.xml.template '${ cfg . configDir } /encoding.xml'
148- ${ pkgs . coreutils } /bin/install -m 640 /etc/jellyfin/system.xml.template '${ cfg . configDir } /system.xml'
144+ ExecStartPre = "+" + pkgs . writeShellScript "jellyfin-setup-config" ''
145+ ${ pkgs . coreutils } /bin/install -m 440 -o root -g ${ cfg . group } /etc/jellyfin/network.xml.template '${ cfg . configDir } /network.xml'
146+ ${ pkgs . coreutils } /bin/install -m 440 -o root -g ${ cfg . group } /etc/jellyfin/branding.xml.template '${ cfg . configDir } /branding.xml'
147+ ${ pkgs . coreutils } /bin/install -m 440 -o root -g ${ cfg . group } /etc/jellyfin/encoding.xml.template '${ cfg . configDir } /encoding.xml'
148+ ${ pkgs . coreutils } /bin/install -m 440 -o root -g ${ cfg . group } /etc/jellyfin/system.xml.template '${ cfg . configDir } /system.xml'
149149 '' ;
150150
151151 ExecStart =
You can’t perform that action at this time.
0 commit comments