#!/bin/sh
# Create an unprivileged service user for the host process, same convention
# used across our other long-running service packages (Keycloak, Rundeck, etc.)

addgroup -S azurefunc 2>/dev/null
adduser -S -D -H -h /home/site/wwwroot -s /sbin/nologin -G azurefunc azurefunc 2>/dev/null

exit 0
