Changes between Version 4 and Version 5 of ProjectDaemons


Ignore:
Timestamp:
Oct 16, 2014, 10:50:06 AM (9 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProjectDaemons

    v4 v5  
    11= Daemons =
    22
    3 '''Daemons''' are server programs that normally run continuously. Your project's daemons are described in its [ProjectConfigFile config.xml] file, with elements of the form:
     3'''Daemons''' are server programs that normally run continuously.
     4Your project's daemons are described in its [ProjectConfigFile config.xml] file, with elements of the form:
    45
    56{{{
     
    2223        Specifies the host on which the daemon should run. The default is the project's main host, as specified in config.xml.
    2324 '''disabled'''::
    24         If set to 1, ignore this daemon. Note that <disabled/> won't work; you must specify a number.
     25        If set to 1, ignore this daemon. Note: <disabled/> won't work; you must specify a number.
    2526 '''silent_start'''::
    26         If set to 1, don't print a message at project startup about this daemon. Note that <silent_start/> won't work; you must specify a number.
     27        If set to 1, don't print a message at project startup about this daemon. Note: <silent_start/> won't work; you must specify a number.
    2728 '''output'''::
    2829        Name of output file (in the `log_HOSTNAME` directory). Defaults to the program name followed by '.log'. If you're running multiple instances of a daemon on one host, you must specify this.
     
    3031        Name of file used to store the process ID (in the `pid_HOSTNAME` directory). Defaults to the program name followed by '.pid'. If you're running multiple instances of a daemon on one host, you must specify this.
    3132
    32 Daemons are started when you run the [StartTool bin/start] script, and killed (by a SIGHUP signal) when you run [StartTool bin/stop].
     33Daemons are executed in a directory '''tmp_hostname/''' (not '''bin/''').
     34Daemons are started when you run the [StartTool bin/start] script,
     35and killed (by a SIGHUP signal) when you run [StartTool bin/stop].
    3336
    34 Typically, this mechanism is used to run [BackendPrograms work handling daemons]. Projects that use trickle-up messages will also need to have a [TrickleMessages trickle-up handler].
     37Typically, this mechanism is used to run [BackendPrograms work handling daemons].
     38Projects that use trickle-up messages will also need to have a [TrickleMessages trickle-up handler].