]> source.dussan.org Git - rspamd.git/commitdiff
Use _rspamd as a system user in Debian
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sun, 23 Feb 2014 08:33:05 +0000 (09:33 +0100)
committerMikhail Gusarov <dottedmag@dottedmag.net>
Sun, 23 Feb 2014 08:33:05 +0000 (09:33 +0100)
debian/postinst
debian/rspamd.default
debian/rspamd.init

index 78c280568fb821885b34d1c0913923a0c595be51..4c39b569a77a489d2b8e4c4cb18006a497b7af54 100644 (file)
@@ -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 \
index e95072d7516e3c497aff4742aa1fb879dd7740ff..2676fcae9a1a108fb1178eff6ee6f5e85d1f8ba0 100644 (file)
@@ -1,2 +1,2 @@
-RSPAMD_USERNAME=rspamd
-RSPAMD_GROUPNAME=rspamd
+RSPAMD_USERNAME=_rspamd
+RSPAMD_GROUPNAME=_rspamd
index d550b0b568ccfe0f9e741b49c6bc5d5beb2f4e80..08fdc712caf753c5ca306cb7bf903d95aeac9479 100755 (executable)
@@ -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