diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-10-03 14:25:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-10-03 14:25:12 +0000 |
commit | 7c6e721b62a25cd5bb7b1a6c21cc9d3c1e2f06c0 (patch) | |
tree | 34f41e516445032d64e6e597c2d33d72665857d3 /etc | |
parent | 83fbfa45915970f27d894ebb030d16865f30b05e (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/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} |