Giter Club home page Giter Club logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Don't forget the windows service ;)

Original comment by waqas20 on 26 Oct 2008 at 5:55

from lxmppd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
This is easy for posix systems. I'm planning a mod_posix for that, and a new C
library in util.

As for Windows, good luck ;)

Original comment by MWild1 on 29 Nov 2008 at 6:25

  • Added labels: Milestone-0.2

from lxmppd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Done for posix systems, re-assigning to waqas for the Windows service.

Original comment by MWild1 on 6 Dec 2008 at 11:34

from lxmppd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024

Original comment by MWild1 on 15 Dec 2008 at 3:39

  • Removed labels: Milestone-0.2

from lxmppd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Not urgent, just updating the title.

This recent thread may help: 
http://lua-users.org/lists/lua-l/2009-03/msg00532.html

Original comment by MWild1 on 31 Mar 2009 at 3:00

  • Changed title: Run Prosody as a service on Windows
  • Added labels: OpSys-Windows

from lxmppd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Useful for people who come here (and don't follow the thread MattJ linked to).

How To Create a User-Defined Service - http://support.microsoft.com/kb/137890

Original comment by [email protected] on 15 Feb 2011 at 5:58

from lxmppd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Even, better - copy it here so, if the link change it is not lost :p

To create a Windows NT user-defined service, perform the following steps: 
At a MS-DOS command prompt(running CMD.EXE), type the following command:

path\INSTSRV.EXE My Service path\SRVANY.EXE

where path is the drive and directory of the Windows NT Resource Kit (i.e., 
C:\RESKIT) and My Service is the name of the service you are creating.

Example:
C:\Program Files\Resource Kit\Instsrv.exe Notepad C:\Program Files\Resource 
Kit\Srvany.exe
NOTE: To verify that the service was created correctly, check the registry to 
verify that the ImagePath value under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\service name
is set to point to SRVANY.EXE. If this is not set correctly, the service will 
stop shortly after it starts and return an Event ID 7000 "The service name 
failed to start." 

WARNING: Using Registry Editor incorrectly can cause serious problems that may 
require you to reinstall your operating system. Microsoft cannot guarantee that 
problems resulting from the incorrect use of Registry Editor can be solved. Use 
Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And 
Values" online Help topic or the "Add and Delete Information in the Registry" 
and "Edit Registry Data" online Help topics in Registry Editor.

NOTE: You should back up the registry before you edit it.
Run Registry Editor (Regedt32.exe)and locate the following subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<My Service>
From the Edit menu, click Add Key. Type the following and click OK:

Key Name: Parameters
Class : <leave blank>
Select the Parameters key.
From the Edit menu, click Add Value. Type the following and click OK:

Value Name: Application
Data Type : REG_SZ
String : <path>\<application.ext>

where <path>\<application.ext> is the drive and full path to the application 
executable including the extension (i.e., C:\WinNT\Notepad.exe)
Close Registry Editor.
By default, a newly created service it configured to run Automatically when the 
system is restarted. To change this setting to Manual, run the Services applet 
from Control Panel and change the Startup value to Manual. A service set to 
Manual can be started in one of several ways: 
- From the Services applet in Control Panel 

- From a MS-DOS command prompt, type the following: 

NET START <My Service> 

- Use the Sc.exe utility from the Resource Kit. Type the following from a 
MS-DOS command prompt: 

<path>\Sc.exe start <My Service> 

where <path> is the drive and directory of the Windows NT Resource Kit (i.e., 
C:\Reskit).


For more information on installing and removing a user-defined service, please 
see the Srvany.wri document provided with the Windows NT Resource Kit utilities 
(i.e., C:\Reskit\Srvany.wri). This document can also be found on the Windows NT 
Resource Kit CD in the Common\Config directory.

Original comment by thomas.mangin on 15 Dec 2011 at 5:07

from lxmppd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.