blob: 4bb1be14441c4615ddd8e5b2e6de13aa26f2d7e8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
post_install() {
if ! getent passwd laminar >/dev/null; then
useradd -r -d /var/lib/laminar -s /usr/sbin/nologin laminar
passwd -l laminar >/dev/null
fi
if [ ! -d /var/lib/laminar ]; then
mkdir -p /var/lib/laminar/cfg/{jobs,contexts,scripts}
chown -R laminar: /var/lib/laminar
fi
}
|