Add stderr/stdout to service command line
authorScott Cantor <cantor.2@osu.edu>
Thu, 7 Jun 2012 03:56:33 +0000 (03:56 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 7 Jun 2012 03:56:33 +0000 (03:56 +0000)
configs/SetService32.bat
configs/SetService64.bat

index 1aa7f70..9efbc7c 100644 (file)
@@ -1,5 +1,5 @@
 @echo off
 setlocal
 sc stop shibd_default
-sc config shibd_default binPath= "@-INSTALLDIR-@\sbin\shibd.exe"
+sc config shibd_default binPath= "@-INSTALLDIR-@\sbin\shibd.exe -stdout \"@-INSTALLDIR-@\var\log\shibboleth\stdout.log\" -stderr \"@-INSTALLDIR-@\var\log\shibboleth\stderr.log\""
 sc start shibd_default
index bf67d28..ffc85fe 100644 (file)
@@ -1,5 +1,5 @@
 @echo off
 setlocal
 sc stop shibd_default
-sc config shibd_default binPath= "@-INSTALLDIR-@\sbin64\shibd.exe"
+sc config shibd_default binPath= "@-INSTALLDIR-@\sbin64\shibd.exe -stdout \"@-INSTALLDIR-@\var\log\shibboleth\stdout.log\" -stderr \"@-INSTALLDIR-@\var\log\shibboleth\stderr.log\""
 sc start shibd_default