#!/bin/sh # deploy/docker-entrypoint.sh: the image's ENTRYPOINT, run as root. A host # directory mounted at /var/lib/neoirc keeps the host's owner, so this gives # it to neoirc before running neoircd as neoirc. set -eu mkdir -p /var/lib/neoirc chown -R neoirc:neoirc /var/lib/neoirc chmod 0700 /var/lib/neoirc exec su-exec neoirc neoircd "$@"