diff options
Diffstat (limited to 'pkg/deb/debian/unit.postinst')
-rwxr-xr-x | pkg/deb/debian/unit.postinst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkg/deb/debian/unit.postinst b/pkg/deb/debian/unit.postinst index 8aa476b3..44301f2d 100755 --- a/pkg/deb/debian/unit.postinst +++ b/pkg/deb/debian/unit.postinst @@ -25,17 +25,16 @@ BANNER fi if ! getent group unit >/dev/null; then - addgroup --system unit >/dev/null + groupadd --system unit >/dev/null fi if ! getent passwd unit >/dev/null; then - adduser \ + useradd \ --system \ - --disabled-login \ - --ingroup unit \ + --gid unit \ --no-create-home \ --home /nonexistent \ - --gecos "unit user" \ + --comment "unit user" \ --shell /bin/false \ unit >/dev/null fi |