diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2014-02-23 09:33:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-24 13:17:46 +0000 |
commit | 9ab8da7bf675f3c6cb270f66738ec1875e73aa57 (patch) | |
tree | c61566ead21ed76b9800b6592fbd1c5cd8628397 | |
parent | 3570a7f31c3d9fef27b7283f67932d876a595eac (diff) | |
download | rspamd-9ab8da7bf675f3c6cb270f66738ec1875e73aa57.tar.gz rspamd-9ab8da7bf675f3c6cb270f66738ec1875e73aa57.zip |
Use _rspamd as a system user in Debian
-rw-r--r-- | debian/postinst | 2 | ||||
-rw-r--r-- | debian/rspamd.default | 4 | ||||
-rwxr-xr-x | debian/rspamd.init | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/debian/postinst b/debian/postinst index 78c280568..4c39b569a 100644 --- a/debian/postinst +++ b/debian/postinst @@ -7,7 +7,7 @@ case "$1" in configure) SERVER_HOME=/var/lib/rspamd SERVER_LOG=/var/log/rspamd - SERVER_USER=rspamd + SERVER_USER=_rspamd SERVER_NAME="Rspamd spam filtering system" adduser --quiet \ diff --git a/debian/rspamd.default b/debian/rspamd.default index e95072d75..2676fcae9 100644 --- a/debian/rspamd.default +++ b/debian/rspamd.default @@ -1,2 +1,2 @@ -RSPAMD_USERNAME=rspamd -RSPAMD_GROUPNAME=rspamd +RSPAMD_USERNAME=_rspamd +RSPAMD_GROUPNAME=_rspamd diff --git a/debian/rspamd.init b/debian/rspamd.init index d550b0b56..08fdc712c 100755 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -20,8 +20,8 @@ DAEMON_ARGS="-c /etc/rspamd/rspamd.conf" DESC="rapid spam filtering system" PIDFILE=/var/lib/rspamd/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME -RSPAMD_USERNAME=rspamd -RSPAMD_GROUPNAME=rspamd +RSPAMD_USERNAME=_rspamd +RSPAMD_GROUPNAME=_rspamd # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 |