Fossil

Check-in [c46c7089]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change the name of the "service" command to "winsrv" to avoid confusion with the "server" command.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c46c70897cf918a546319d431c2c245425a9cdb3
User & Date: drh 2011-07-19 22:39:18
Context
2011-07-19
22:41
Increment the version number. Update the change log. check-in: a3717e13 user: drh tags: trunk
22:39
Change the name of the "service" command to "winsrv" to avoid confusion with the "server" command. check-in: c46c7089 user: drh tags: trunk
2011-07-18
20:04
Merge the windows-service command into trunk. check-in: 06e9ca23 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/winhttp.c.

430
431
432
433
434
435
436
437
438
439
440
441
442
443
444


445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
      fossil_fatal("error from StartServiceCtrlDispatcher()");
    }
  }
  return 0;
}

/*
** COMMAND: service
**
** Usage: fossil service METHOD ?SERVICE-NAME? ?OPTIONS?
**
** Where METHOD is one of: create delete show start stop.
**
** The service command can be used to create and control instances of Fossil
** which are are running as Windows services. No user needs to be logged on


** when running Fossil as a service. In the following description of the
** methods, "Fossil-DSCM" will be used as the default SERVICE-NAME, if no
** SERVICE-NAME is specified.
** 
**    fossil service create ?SERVICE-NAME? ?OPTIONS?
**
**         Creates a service. The following service specific options are
**         available:
**
**         -D|--display DISPLAY-NAME
**
**              Sets the display name of the service. This name will be showed
**              by graphical interface programs. By default, the display name
**              equals to the service name.
**
**         -S|--start TYPE
**
**              Sets the start type of the service. TYPE can be "manual",
**              which means you need to start the service yourself with the







|
<
|



|
|
>
>
|
|
<



|
<



|







430
431
432
433
434
435
436
437

438
439
440
441
442
443
444
445
446
447

448
449
450
451

452
453
454
455
456
457
458
459
460
461
462
      fossil_fatal("error from StartServiceCtrlDispatcher()");
    }
  }
  return 0;
}

/*
** COMMAND: winsrv

** Usage: fossil winsrv METHOD ?SERVICE-NAME? ?OPTIONS?
**
** Where METHOD is one of: create delete show start stop.
**
** The winsrv command manages Fossil as a Windows service.  This allows
** (for example) Fossil to be running in the background when no user
** is logged in.
**
** In the following description of the methods, "Fossil-DSCM" will be
** used as the default SERVICE-NAME:

** 
**    fossil service create ?SERVICE-NAME? ?OPTIONS?
**
**         Creates a service. Available options include:

**
**         -D|--display DISPLAY-NAME
**
**              Sets the display name of the service. This name is shown
**              by graphical interface programs. By default, the display name
**              equals to the service name.
**
**         -S|--start TYPE
**
**              Sets the start type of the service. TYPE can be "manual",
**              which means you need to start the service yourself with the