github.com/palisadeinc/bor@v0.0.0-20230615125219-ab7196213d15/builder/files/bor-post-install.sh (about)

     1  #!/bin/sh
     2  set -e
     3  
     4  PKG="bor"
     5  
     6  if ! getent passwd $PKG >/dev/null ; then
     7      adduser --disabled-password --disabled-login --shell /usr/sbin/nologin --quiet --system --no-create-home --home /nonexistent $PKG
     8      echo "Created system user $PKG"
     9  fi