mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Fix maintainer-script-lacks-home-in-adduser Lintian issue.
This commit is contained in:
committed by
Dan Christian Bogos
parent
3ec26e9320
commit
831c5b8fab
2
debian/postinst
vendored
2
debian/postinst
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user