#!/bin/sh set -e if [ "$1" != "configure" ]; then exit 0 fi if [ -n "$2" ]; then if dpkg --compare-versions "${2%%-*}" le "1.21.0"; then cat </dev/null; then groupadd --system unit >/dev/null fi if ! getent passwd unit >/dev/null; then useradd \ --system \ --gid unit \ --no-create-home \ --home /nonexistent \ --comment "unit user" \ --shell /bin/false \ unit >/dev/null fi #DEBHELPER# exit 0