parsed.org

Tips by tag: service

Adding Services by xinu on Apr 21, 2005 08:57 AM

To add a service to boot automatically on startup, do the following:

# chkconfig --level 345 <service_name> on
bootchkconfigcommandsconfigurationservicestartup
Create Windows Service by xinu on Apr 16, 2008 09:05 AM

This is a sample command line for adding an SVN server, but you should be able to re-use these options to create anything you need:

C:\svn\repository>sc create svnserver binpath= "c:\svn\bin\svnserve.exe --service -r c:\svn\repository" displayname= "Subversion" depend= Tcpip start= auto
[SC] CreateService SUCCESS
scservicesvnwindows
RSS