From b1006944ac43c3f9297cc14db8d27afaa1f2d4ae Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 8 May 2008 20:16:08 +0200 Subject: [PATCH] Document NT services options (-install, -remove). --- doc/pazpar2.xml | 22 ++++++++++++++++++++++ src/pazpar2.c | 4 ++++ 2 files changed, 26 insertions(+) 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; } -- 1.7.10.4