Browse Source

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
OPENBSD_4_5
deraadt 15 years ago
parent
commit
ff221517f8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -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}


Loading…
Cancel
Save