#!/bin/sh set -ex export DEBIAN_FRONTEND=noninteractive # locales sed -i 's/# en_IE.UTF-8 UTF-8/en_IE.UTF-8 UTF-8/' /etc/locale.gen locale-gen useradd --system --shell /usr/sbin/nologin --home-dir /var/lib/filebin --create-home --user-group filebin mkdir /tmp/filebin /var/log/filebin chown filebin: /tmp/filebin /var/log/filebin chmod 700 /tmp/filebin /var/log/filebin systemctl enable filebin.service