Statistics
| Branch: | Tag: | Revision:

root / src / ganeti-wconfd.hs @ 35cded14

History | View | Annotate | Download (1.1 kB)

1 59881a0b Petr Pudlak
{-| Ganeti WConfD (config writer) daemon
2 59881a0b Petr Pudlak
3 59881a0b Petr Pudlak
-}
4 59881a0b Petr Pudlak
5 59881a0b Petr Pudlak
{-
6 59881a0b Petr Pudlak
7 59881a0b Petr Pudlak
Copyright (C) 2013 Google Inc.
8 59881a0b Petr Pudlak
9 59881a0b Petr Pudlak
This program is free software; you can redistribute it and/or modify
10 59881a0b Petr Pudlak
it under the terms of the GNU General Public License as published by
11 59881a0b Petr Pudlak
the Free Software Foundation; either version 2 of the License, or
12 59881a0b Petr Pudlak
(at your option) any later version.
13 59881a0b Petr Pudlak
14 59881a0b Petr Pudlak
This program is distributed in the hope that it will be useful, but
15 59881a0b Petr Pudlak
WITHOUT ANY WARRANTY; without even the implied warranty of
16 59881a0b Petr Pudlak
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 59881a0b Petr Pudlak
General Public License for more details.
18 59881a0b Petr Pudlak
19 59881a0b Petr Pudlak
You should have received a copy of the GNU General Public License
20 59881a0b Petr Pudlak
along with this program; if not, write to the Free Software
21 59881a0b Petr Pudlak
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 59881a0b Petr Pudlak
02110-1301, USA.
23 59881a0b Petr Pudlak
24 59881a0b Petr Pudlak
-}
25 59881a0b Petr Pudlak
26 59881a0b Petr Pudlak
module Main (main) where
27 59881a0b Petr Pudlak
28 59881a0b Petr Pudlak
import qualified Ganeti.WConfd.Server
29 59881a0b Petr Pudlak
import Ganeti.Daemon
30 59881a0b Petr Pudlak
import Ganeti.Runtime
31 59881a0b Petr Pudlak
32 59881a0b Petr Pudlak
-- | Main function.
33 59881a0b Petr Pudlak
main :: IO ()
34 59881a0b Petr Pudlak
main =
35 bc820a01 Petr Pudlak
  genericMain GanetiWConfd
36 bc820a01 Petr Pudlak
    Ganeti.WConfd.Server.options
37 59881a0b Petr Pudlak
    Ganeti.WConfd.Server.checkMain
38 59881a0b Petr Pudlak
    Ganeti.WConfd.Server.prepMain
39 59881a0b Petr Pudlak
    Ganeti.WConfd.Server.main