From 05d0d5a692b430bf7eb29b6a8eabf64906bfd3be Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 27 Nov 2024 03:47:02 +0100 Subject: [PATCH] Leave user of `wekan` container unchanged --- .../Software/docker/services/wekan/main.fish | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/scripts/Common/Software/docker/services/wekan/main.fish b/scripts/Common/Software/docker/services/wekan/main.fish index 10ffcfc0..042284f2 100755 --- a/scripts/Common/Software/docker/services/wekan/main.fish +++ b/scripts/Common/Software/docker/services/wekan/main.fish @@ -18,28 +18,6 @@ begin installDockerService $argv end - function configureSW -V dir -V service - set -l uid - set -l gid - set -l user "$service" - set -l root (getServiceRoot $argv) - set -l data "data/wekan" - configureDockerService $argv - - and sudo useradd \ - --system \ - --shell /bin/false \ - --comment 'Wekan server' \ - --create-home \ - "$user" - - set uid (id -u "$user") - set gid (id -g "$user") - USER="$uid:$gid" yq -i "$(getServiceKey "$service").user = env(USER)" "$root/docker-compose.base.yml" - mkdir -p "$root/$data" - chown -R "$uid:$gid" "$root/$data" - end - function getServiceServers -V domain printf "%s\0" $domain end