-rspamd (0.6.8) UNRELEASED; urgency=low
+rspamd (0.6.9) unstable; urgency=low
* Initial release (Closes: #683746)
- -- Mikhail Gusarov <dottedmag@debian.org> Mon, 17 Feb 2014 23:24:39 +0100
+ -- Mikhail Gusarov <dottedmag@debian.org> Sun, 23 Mar 2014 19:04:13 +0100
DESC="rapid spam filtering system"
PIDFILE=/run/rspamd/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
-RSPAMD_USERNAME=_rspamd
-RSPAMD_GROUPNAME=_rspamd
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
-# Read configuration variable file if it is present
-[ -r /etc/default/$NAME ] && . /etc/default/$NAME
-
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
- mkdir -m 755 $RSPAMD_USERNAME:$RSPAMD_GROUPNAME -p /run/rspamd
+ mkdir -m 755 _rspamd:_rspamd -p /run/rspamd
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
- $DAEMON_ARGS -u $RSPAMD_USERNAME -g $RSPAMD_GROUPNAME \
+ $DAEMON_ARGS -u _rspamd -g _rspamd \
|| return 2
}