[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
Naparuba
naparuba at gmail.com
Tue Feb 28 22:09:12 UTC 2012
The following commit has been merged in the debian/master branch:
commit 3df69b0c61d1b95a4e5359ce529e4a795bd7f637
Author: Naparuba <naparuba at gmail.com>
Date: Mon Dec 19 08:59:58 2011 +0100
Add : (by Gabor Varga) change instsrv.exe windows installation way with a sc command one so it work on 2K8r2. Thanks a lot :)
diff --git a/THANKS b/THANKS
index 16ea866..6f1330a 100644
--- a/THANKS
+++ b/THANKS
@@ -50,3 +50,4 @@ To grim for his bug report about disabling flapping options
To peter woodman for his bug report about timezone override crash
To Laurent Ollagnier for his bug report and patch about notification commands
To sprudhomme for his feature request about long_output in Centreon/Ndo
+To Gabor Varga for his patch about the "sc" command for windowns setup :)
\ No newline at end of file
diff --git a/windows/install-all.bat b/windows/install-all.bat
index 3742015..41f07db 100644
--- a/windows/install-all.bat
+++ b/windows/install-all.bat
@@ -76,12 +76,12 @@ move /Y %PATH_BIN%\shinken-arbiter %PATH_BIN%\shinken-arbiter.py
move /Y %PATH_BIN%\shinken-broker %PATH_BIN%\shinken-broker.py
move /Y %PATH_BIN%\shinken-receiver %PATH_BIN%\shinken-receiver.py
-%PATH_INSTSRV%\instsrv.exe "Shinken-Arbiter" %PATH_INSTSRV%"\srvany.exe"
-%PATH_INSTSRV%\instsrv.exe "Shinken-Scheduler" %PATH_INSTSRV%"\srvany.exe"
-%PATH_INSTSRV%\instsrv.exe "Shinken-Poller" %PATH_INSTSRV%"\srvany.exe"
-%PATH_INSTSRV%\instsrv.exe "Shinken-Reactionner" %PATH_INSTSRV%"\srvany.exe"
-%PATH_INSTSRV%\instsrv.exe "Shinken-Broker" %PATH_INSTSRV%"\srvany.exe"
-%PATH_INSTSRV%\instsrv.exe "Shinken-Receiver" %PATH_INSTSRV%"\srvany.exe"
+sc create Shinken-Arbiter binPath= %PATH_INSTSRV%"\srvany.exe" DisplayName= "Shinken-Arbiter"
+sc create Shinken-Scheduler binPath= %PATH_INSTSRV%"\srvany.exe" DisplayName= "Shinken-Scheduler"
+sc create Shinken-Poller binPath= %PATH_INSTSRV%"\srvany.exe" DisplayName= "Shinken-Poller"
+sc create Shinken-Reactionner binPath= %PATH_INSTSRV%"\srvany.exe" DisplayName= "Shinken-Reactionner"
+sc create Shinken-Broker binPath= %PATH_INSTSRV%"\srvany.exe" DisplayName= "Shinken-Broker"
+sc create Shinken-Receiver binPath= %PATH_INSTSRV%"\srvany.exe" DisplayName= "Shinken-Receiver"
echo Windows Registry Editor Version 5.00 > %tmp%\Shinken_registry.reg
echo. >> %tmp%\Shinken_registry.reg
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list