neb/servers/apoc/setup.d/00-setup-git.sh
2023-10-20 15:50:35 +02:00

7 lines
133 B
Bash

#!/bin/sh
if ! getent passwd git &>/dev/null; then
echo "creating git user..."
useradd -m git
usermod git -aG docker
fi