Skip to content

Commit

Permalink
www/apache24: htcacheclean rc.d script appears too early in rcorder
Browse files Browse the repository at this point in the history
Because htcacheclean has no dependencies set, it runs before the
file system is ready, even though it makes changes to the file system.
Define FILESYSTEMS as requirement to fix this race condition.

PR:		268216
Approved by:	portmgr (maintainer timeout, 5+ months)
  • Loading branch information
tatsuki-makino authored and Daniel Engberg committed Jun 3, 2023
1 parent a6ed84a commit 8c00446
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/apache24/Makefile
@@ -1,5 +1,6 @@
PORTNAME= apache24
PORTVERSION= 2.4.57
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-${PORTVERSION}
Expand Down
2 changes: 2 additions & 0 deletions www/apache24/files/htcacheclean.in
@@ -1,6 +1,8 @@
#!/bin/sh

# PROVIDE: htcacheclean
# REQUIRE: FILESYSTEMS
# BEFORE: apache24
#
# Configuration settings for htcacheclean in /etc/rc.conf
#
Expand Down

0 comments on commit 8c00446

Please sign in to comment.