summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7ecd89c)
The Windows service support in ORTE manager is enabled
now for Cygwin build as well. Build under MINGW has been
tested but some external volunteer is required for Cygwin
environment test.
Another option is to add config option which allows
to specify if Windows service support should or should not
be build.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
appInfo->hostId,appInfo->appId);
}
appInfo->hostId,appInfo->appId);
}
+#if defined(_WIN32) || defined(__CYGWIN__)
//Windows service support
void serviceDispatchTable(void); //forward declaration
void removeService(void); //forward declaration
//Windows service support
void serviceDispatchTable(void); //forward declaration
void removeService(void); //forward declaration
printf(" -e, --events register event system\n");
printf(" -l, --logfile <filename> set log file name\n");
printf(" -V, --version show version\n");
printf(" -e, --events register event system\n");
printf(" -l, --logfile <filename> set log file name\n");
printf(" -V, --version show version\n");
+#if defined(_WIN32) || defined(__CYGWIN__)
printf(" -i, --install_service install service into service manager on Windows\n");
printf(" -r, --remove_service remove service from service manager on Windows\n");
#endif
printf(" -i, --install_service install service into service manager on Windows\n");
printf(" -r, --remove_service remove service from service manager on Windows\n");
#endif
case 'D':
orteDaemon=ORTE_TRUE;
break;
case 'D':
orteDaemon=ORTE_TRUE;
break;
+ #if defined(_WIN32) || defined(__CYGWIN__)
case 's':
serviceDispatchTable();
exit(0);
case 's':
serviceDispatchTable();
exit(0);