jobcore/66/66.install

16 lines
440 B
Plaintext

post_install() {
if ! getent group log >/dev/null; then
groupadd -r -g 19 log
fi
if ! getent passwd s6log >/dev/null; then
useradd -u 19 -g 19 -d / -c "S6 log user" -s /usr/bin/nologin s6log
fi
}
post_upgrade() {
post_install
printf "%s\n" "==> WARNING: According to the skarnet recommendations about the s6-svscan and skalibs library changes, you need to reboot after your 66 package upgrade."
}