Add a 3 second pause between changing the path and restarting the service
authorRod Widdowson <rdw@steadingsoftware.com>
Mon, 6 Aug 2012 14:12:05 +0000 (14:12 +0000)
committerRod Widdowson <rdw@steadingsoftware.com>
Mon, 6 Aug 2012 14:12:05 +0000 (14:12 +0000)
configs/SetService32.bat
configs/SetService64.bat

index 265b124..b0831d6 100644 (file)
@@ -3,6 +3,7 @@ setlocal
 
 sc stop shibd_default
 sc config shibd_default binPath= "@-INSTALLDIR-@\sbin\shibd.exe -stdout \"@-INSTALLDIR-@\var\log\shibboleth\stdout.log\" -stderr \"@-INSTALLDIR-@\var\log\shibboleth\stderr.log\""
+ping 1.1.1.1 -n 1 -w 3000 > nul
 sc start shibd_default
 
 echo NOTE: You will need to manually adjust your IIS or Apache configuration to complete a switch to 32-bit use.
\ No newline at end of file
index 35c5fdb..c2704b5 100644 (file)
@@ -3,6 +3,7 @@ setlocal
 
 sc stop shibd_default
 sc config shibd_default binPath= "@-INSTALLDIR-@\sbin64\shibd.exe -stdout \"@-INSTALLDIR-@\var\log\shibboleth\stdout.log\" -stderr \"@-INSTALLDIR-@\var\log\shibboleth\stderr.log\""
+ping 1.1.1.1 -n 1 -w 3000 > nul
 sc start shibd_default
 
 echo NOTE: You will need to manually adjust your IIS or Apache configuration to complete a switch to 64-bit use.
\ No newline at end of file