Subversion Repositories HomeAutomation

Rev

Rev 1675 | Rev 1914 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1675 Rev 1679
Line 62... Line 62...
62
void CleanUp();
62
void CleanUp();
63
 
63
 
64
int main(int argc, char **argv)
64
int main(int argc, char **argv)
65
{
65
{
66
    LOG.Info("\033[29;1mAtom Daemon, version " + std::string(VERSION) + " starting...\033[0m");
66
    LOG.Info("\033[29;1mAtom Daemon, version " + std::string(VERSION) + " starting...\033[0m");
67
    LOG.Info("\033[29;1mReleased under GPL version 2.\033[0m");
67
    LOG.Info("\033[29;1mReleased under " + std::string(LICENSE) + ".\033[0m");
68
    LOG.Info("Written by Mattias Runge 2010.");
68
    LOG.Info("Written by Mattias Runge 2010.");
69
   
69
   
70
    signal(SIGTERM, Handler);
70
    signal(SIGTERM, Handler);
71
    signal(SIGINT, Handler);
71
    signal(SIGINT, Handler);
72
    signal(SIGQUIT, Handler);
72
    signal(SIGQUIT, Handler);