Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions misc/systemd/cf-apache.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ ExecStart=@workdir@/httpd/bin/apachectl start
ExecStop=@workdir@/httpd/bin/apachectl stop
ExecReload=@workdir@/httpd/bin/apachectl graceful
PIDFile=@workdir@/httpd/httpd.pid
# ENT-11189: apachectl writes the PID file shortly after fork. On a busy host
# (e.g. mid-upgrade with SELinux relabel, cf-postgres and cf-php-fpm churning)
# the default 90s start timeout has been observed to fire while apache is still
# coming up, leaving worker children bound to :80 and the unit in a restart loop.
TimeoutStartSec=300
Restart=always
RestartSec=10
UMask=0177
Expand Down
Loading