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/