aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 63a13d0ef8821a3122cc4f1eae60c8d125438fb1 (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
39
40
41
42
43
44
# Schedule definitions for thorn HTTPD
# $Header$

SCHEDULE GROUP HTTP_Startup AT startup
{
  OPTIONS: GLOBAL
} "HTTP daemon startup group"

SCHEDULE HTTP_StartServer in HTTP_Startup
{
  LANG: C
  OPTIONS: GLOBAL
} "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
  OPTIONS: GLOBAL
} "Serve first pages at startup"

SCHEDULE HTTP_Work AT poststep BEFORE IOUtil_UpdateParFile
{
  LANG: C
  OPTIONS: GLOBAL
} "Working routine"

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

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