Revision bc820a01 src/ganeti-wconfd.hs
b/src/ganeti-wconfd.hs | ||
---|---|---|
29 | 29 |
import Ganeti.Daemon |
30 | 30 |
import Ganeti.Runtime |
31 | 31 |
|
32 |
-- | Options list and functions. |
|
33 |
options :: [OptType] |
|
34 |
options = |
|
35 |
[ oNoDaemonize |
|
36 |
, oNoUserChecks |
|
37 |
, oDebug |
|
38 |
, oSyslogUsage |
|
39 |
] |
|
40 |
|
|
41 | 32 |
-- | Main function. |
42 | 33 |
main :: IO () |
43 | 34 |
main = |
44 |
genericMain GanetiWConfd options |
|
35 |
genericMain GanetiWConfd |
|
36 |
Ganeti.WConfd.Server.options |
|
45 | 37 |
Ganeti.WConfd.Server.checkMain |
46 | 38 |
Ganeti.WConfd.Server.prepMain |
47 | 39 |
Ganeti.WConfd.Server.main |
Also available in: Unified diff