From 2e4b2fd853c16c83e37a5540f4aa373b36f47493 Mon Sep 17 00:00:00 2001 From: Pavlogal <69644438+Pavlogal@users.noreply.github.com> Date: Fri, 8 Sep 2023 16:54:20 +0200 Subject: [PATCH] Update users_groups_setup.py --- users_groups_setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users_groups_setup.py b/users_groups_setup.py index 12e77a3..747174b 100644 --- a/users_groups_setup.py +++ b/users_groups_setup.py @@ -8,9 +8,9 @@ def __init__(self, root_dir='/'): def create_config_dir(self, service_name): os.system( - f'sudo mkdir -p {self.root_dir}/docker/{service_name}-config' - f' ; sudo chown -R {service_name}:mediacenter {self.root_dir}/docker/{service_name}-config' - f' ; sudo chown $(id -u):mediacenter {self.root_dir}/docker' + f'sudo mkdir -p {self.root_dir}/config/{service_name}-config' + f' ; sudo chown -R {service_name}:mediacenter {self.root_dir}/config/{service_name}-config' + f' ; sudo chown $(id -u):mediacenter {self.root_dir}/config' ) def sonarr(self):