aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl22
1 files changed, 18 insertions, 4 deletions
diff --git a/schedule.ccl b/schedule.ccl
index a6c787e..674319b 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,22 +1,36 @@
# Schedule definitions for thorn httpd
# $Header$
-SCHEDULE HTTP_Startup AT startup
+SCHEDULE GROUP HTTP_Startup AT startup
{
LANG: C
-} "HTTP daemon startup"
+} "HTTP daemon startup group"
+
+SCHEDULE HTTP_StartServer in HTTP_Startup
+{
+ LANG: C
+} "Start HTTP server"
+
+SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
+{
+} "Group to setup stuff which needs to be done between starting the server and the first time it serves pages"
+
+SCHEDULE HTTP_FirstServ in HTTP_Startup AFTER HTTP_SetupPages
+{
+ LANG: C
+} "Serve first pages at startup"
SCHEDULE HTTP_Work AT poststep BEFORE IOUtil_UpdateParFile
{
LANG: C
-} "HTTP working routine"
+} "Working routine"
if(provide_pages)
{
SCHEDULE HTTP_ContentWork AT poststep
{
LANG: C
- } "HTTP Content Working routine"
+ } "Content Working routine"
}
SCHEDULE HTTP_Shutdown AT shutdown