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

9 lines
172 B
Bash
Raw Permalink 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
2023-10-30 01:53:54 +01:00
chsh -s /home/git/docker-shell git
2023-10-20 15:50:35 +02:00
fi