#!/bin/sh set -e . /etc/conf.d/spamd pidfile="${pidfile:-/run/spamd.pid}" if [ -f "$pidfile" ]; then _pid="$(cat "$pidfile")" fi /usr/bin/sa-update if [ -n "$_pid" ]; then kill -SIGHUP "$_pid" fi