~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to erts/doc/src/erlsrv.xml

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<comref>
5
5
  <header>
6
6
    <copyright>
7
 
      <year>1998</year><year>2009</year>
 
7
      <year>1998</year><year>2010</year>
8
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
9
9
    </copyright>
10
10
    <legalnotice>
13
13
      compliance with the License. You should have received a copy of the
14
14
      Erlang Public License along with this software. If not, it can be
15
15
      retrieved online at http://www.erlang.org/.
16
 
    
 
16
 
17
17
      Software distributed under the License is distributed on an "AS IS"
18
18
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
19
19
      the License for the specific language governing rights and limitations
20
20
      under the License.
21
 
    
 
21
 
22
22
    </legalnotice>
23
23
 
24
24
    <title>erlsrv</title>
251
251
           necessarily the same as the interactive users. The service
252
252
           runs as the local administrator. All arguments should be given
253
253
           together in one string, use double quotes (") to give an
254
 
           argument string containing spaces and use quoted quotes (\\")
 
254
           argument string containing spaces and use quoted quotes (\")
255
255
           to give an quote within the argument string if
256
256
           necessary.</item>
257
257
           <tag>-i[nternalservicename] [&lt;internal name&gt;]</tag>
356
356
*/   
357
357
BOOL WINAPI service_aware_handler(DWORD ctrl){
358
358
    if(ctrl == CTRL_LOGOFF_EVENT)
359
 
\011return TRUE;
 
359
        return TRUE;
360
360
    return FALSE;
361
361
}
362
362
 
368
368
     */
369
369
    if(GetEnvironmentVariable("ERLSRV_SERVICE_NAME",buffer,
370
370
                              (DWORD) 2)){
371
 
\011/*
372
 
\011** Actually set the control handler
373
 
\011*/
374
 
\011SetConsoleCtrlHandler(&service_aware_handler, TRUE);
 
371
        /*
 
372
        ** Actually set the control handler
 
373
        */
 
374
        SetConsoleCtrlHandler(&service_aware_handler, TRUE);
375
375
    }
376
376
}    ]]></code>
377
377
  </section>
388
388
      the runtime system should not need to overwrite existing (and probably
389
389
      used) executables.</p>
390
390
    <p>To easily manipulate the Erlang services, put
391
 
      the <c><![CDATA[<erlang_root>\\erts-<version>\\bin]]></c> directory in
392
 
      the path instead of <c><![CDATA[<erlang_root>\\bin]]></c>. The erlsrv program
 
391
      the <c><![CDATA[<erlang_root>\erts-<version>\bin]]></c> directory in
 
392
      the path instead of <c><![CDATA[<erlang_root>\bin]]></c>. The erlsrv program
393
393
      can be found from inside Erlang by using the
394
394
      <c><![CDATA[os:find_executable/1]]></c> Erlang function.</p>
395
395
    <p>For release handling to work, use <c><![CDATA[start_erl]]></c> as the Erlang