Parent Directory | Revision Log | Patch
revision 189 by torben, Mon Dec 8 21:49:49 2008 UTC | revision 190 by torben, Wed Dec 17 13:51:57 2008 UTC | |
---|---|---|
# | Line 74 void lookup_uid_values() | Line 74 void lookup_uid_values() |
74 | ||
75 | void daemonCleanup() | void daemonCleanup() |
76 | { | { |
77 | unlink( Common::instance()->pidfile.c_str() ); | Common* cmn = Common::instance(); |
78 | Logger::logMessage("Cleaning up daemon"); | |
79 | ||
80 | seteuid(0); | |
81 | setegid(0); | |
82 | unlink( cmn->pidfile.c_str() ); | |
83 | ||
84 | } | } |
85 | ||
86 | void daemonize() | void daemonize() |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |