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

8 lines
133 B
Bash
Raw Normal View History

2023-10-20 15:50:35 +02:00
#!/bin/sh
if ! getent passwd git &>/dev/null; then
echo "creating git user..."
useradd -m git
usermod git -aG docker
fi