neb/servers/apoc/setup.d/10-setup-git.sh
2023-10-30 01:53:54 +01:00

8 lines
172 B
Bash
Executable file

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