forked from mirrors/nixpkgs
nixos/plex: fix service startup, see #12422
This commit is contained in:
parent
f69743b4b4
commit
a3e7adf509
|
@ -75,7 +75,7 @@ in
|
|||
preStart = ''
|
||||
test -d "${cfg.dataDir}" || {
|
||||
echo "Creating initial Plex data directory in \"${cfg.dataDir}\"."
|
||||
mkdir -p "${cfg.dataDir}"
|
||||
mkdir -p "${cfg.dataDir}/Plex Media Server"
|
||||
chown -R ${cfg.user}:${cfg.group} "${cfg.dataDir}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue