From 831c5b8fabf5fc7cbab724b82d7f3d048c8a2daa Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Fri, 26 Jan 2024 16:34:23 +0100 Subject: [PATCH] Fix maintainer-script-lacks-home-in-adduser Lintian issue. --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 2994f4679..4ffe5e77f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -27,7 +27,7 @@ set -e case "$1" in configure) - adduser --quiet --system --group --disabled-password --shell /bin/false --gecos "CGRateS" cgrates || true + adduser --quiet --system --group --disabled-password --shell /bin/false --home /run/cgrates --gecos "CGRateS" cgrates || true chown -R cgrates:cgrates /var/spool/cgrates/ chown -R cgrates:cgrates /var/lib/cgrates/ chown -R cgrates:cgrates /usr/share/cgrates/