To add a service to boot automatically on startup, do the following:
# chkconfig --level 345 <service_name> on
bootchkconfigcommandsconfigurationservicestartup
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