Browse Source

Clean-up after httpd

OPENBSD_2_8
espie 24 years ago
parent
commit
6a1ae7ce73
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/etc/rc

+ 3
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.142 2000/06/18 22:58:42 todd Exp $
# $OpenBSD: rc,v 1.143 2000/07/02 21:24:00 espie Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -439,6 +439,8 @@ if [ "X${sendmail_flags}" != X"NO" -a -s /etc/mail/sendmail.cf ]; then
fi fi
if [ "X${httpd_flags}" != X"NO" ]; then if [ "X${httpd_flags}" != X"NO" ]; then
# Clean up left-over httpd locks
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.*
echo -n ' httpd'; /usr/sbin/httpd ${httpd_flags} echo -n ' httpd'; /usr/sbin/httpd ${httpd_flags}
fi fi


Loading…
Cancel
Save