From: Adam Dickmeiss Date: Thu, 8 May 2008 18:16:08 +0000 (+0200) Subject: Document NT services options (-install, -remove). X-Git-Tag: v1.0.9~8 X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=commitdiff_plain;h=b1006944ac43c3f9297cc14db8d27afaa1f2d4ae Document NT services options (-install, -remove). --- diff --git a/doc/pazpar2.xml b/doc/pazpar2.xml index 48b2d4a..0ced8cd 100644 --- a/doc/pazpar2.xml +++ b/doc/pazpar2.xml @@ -36,6 +36,8 @@ + + @@ -152,6 +154,26 @@ + + + + + This is an option which is only recognized on Windows. It installs + Pazpar2 as a Windows Service. + + + + + + + + + This is an option which is only recognized on Windows. It removes + a Pazpar2 - Windows Service. + + + + diff --git a/src/pazpar2.c b/src/pazpar2.c index d0ff570..a570d1b 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -162,6 +162,10 @@ static int sc_main( " -u uid\n" " -V show version\n" " -X debug mode\n" +#ifdef WIN32 + " -install install windows service\n" + " -remove remove windows service\n" +#endif ); return 1; }