Displaying 1 result from an estimated 1 matches for "myapachesvc".
2006 Jun 18
0
[ win32utils-Bugs-4699 ] Service dependencies are not being created properly
...s are being specified using
# s.dependencies = ["Tcpip", "Afd"]
# Sample code:
require ''win32/service''
Win32::Service::VERSION # => 0.5.0
svc = Win32::Service.new()
svc.create_service{ |s|
s.service_name = "MyApache"
s.display_name = "MyApacheSvc"
s.service_description = "My Apache Svc Description"
s.binary_path_name = "C:\Apache\2.0.52\bin\Apache.exe -k runservice"
s.start_type = Win32::Service::AUTO_START
s.dependencies = ["Tcpip", "Afd"] # both are valid
}
svc.close
# REG_MULTI_SZ va...