github.com/dbernstein1/tyk@v2.9.0-beta9-dl-apic+incompatible/install/before_install.sh (about) 1 #!/bin/bash 2 echo "Creating user and group..." 3 GROUPNAME="tyk" 4 USERNAME="tyk" 5 6 getent group "$GROUPNAME" >/dev/null || groupadd -r "$GROUPNAME" 7 getent passwd "$USERNAME" >/dev/null || useradd -r -g "$GROUPNAME" -M -s /sbin/nologin -c "Tyk service user" "$USERNAME"