blob: 9c1a6cd3bfa41673f97e98061eff06e1073226c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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
|