aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 8f76c39e93f43a3e50b1a88a9d4149c22d891364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Schedule definitions for thorn httpd
# $Header$

SCHEDULE GROUP HTTP_Startup AT 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
} "Working routine"

if(provide_pages)
{
  SCHEDULE HTTP_ContentWork AT poststep
  {
    LANG: C
  } "Content Working routine"
}

SCHEDULE HTTP_Shutdown AT shutdown
{
  LANG: C
} "HTTP daemon shutdown"