neb/servers/apoc/setup.d/00-setup-git.sh

7 lines
133 B
Bash
Executable file

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