Skip to content

Commit

Permalink
Update users_groups_setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavlogal authored Sep 8, 2023
1 parent 77d880c commit 2e4b2fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions users_groups_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2e4b2fd

Please sign in to comment.