remove envvars

This commit is contained in:
Richie Cahill 2024-06-27 21:53:53 -04:00
parent 3935f3d4eb
commit 2efd0c24ad
2 changed files with 1 additions and 7 deletions

View File

@ -46,12 +46,6 @@ in
mode = "0440"; mode = "0440";
}; };
}; };
variables = {
ZFS_MEDIA = vars.zfs_media;
ZFS_STORAGE = vars.zfs_storage;
ZFS_STORAGE_PLEX = vars.storage_plex;
ZFS_TORRENTING = vars.zfs_torrenting;
};
}; };
services = { services = {

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
plex_dir=$ZFS_STORAGE_PLEX plex_dir="/zfs/storage/plex/"
chown docker-service:users -R "$plex_dir" chown docker-service:users -R "$plex_dir"
find "$plex_dir" -type f -exec chmod 664 {} \; find "$plex_dir" -type f -exec chmod 664 {} \;