nixos/plex: fix service startup, see #12422

This commit is contained in:
Pascal Wittmann 2016-01-17 12:34:54 +01:00
parent f69743b4b4
commit a3e7adf509

View File

@ -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}"
}