summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-03 14:25:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-03 14:25:12 +0000
commit7c6e721b62a25cd5bb7b1a6c21cc9d3c1e2f06c0 (patch)
tree34f41e516445032d64e6e597c2d33d72665857d3 /etc
parent83fbfa45915970f27d894ebb030d16865f30b05e (diff)
New option -D to daemonize spamd-setup for early bootup use. This avoids
spamd-setup hanging if there are various (network?) issues and the system not proceeding to multiuser so that this can be debugged. We do not use & for startup in /etc/rc because this makes the spamd-setup a child of the rc scripts after bootup (that is gross) Problem reported in PR 5864, change discussed with beck, ok millert
Diffstat (limited to 'etc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 350a19a05b9..d86621c3afd 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.318 2008/07/09 20:23:47 djm Exp $
+# $OpenBSD: rc,v 1.319 2008/10/03 14:25:11 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -722,7 +722,7 @@ if [ X"${spamd_flags}" != X"NO" ]; then
spamd_flags="${spamd_flags} -b"
fi
echo -n ' spamd'; eval /usr/libexec/spamd ${spamd_flags}
- /usr/libexec/spamd-setup
+ /usr/libexec/spamd-setup -D
if [ X"${spamd_black}" = X"NO" ]; then
echo -n ' spamlogd'
/usr/libexec/spamlogd ${spamlogd_flags}