```ruby
require 'service_manager'

ServiceManager.define_service 'image-search' do |s|
  s.host = 'localhost'
  s.port = 5858

  s.cwd = File.expand_path '../../../build/server', __FILE__
  config = File.join Dir.pwd, 'server-config.yml'
  s.start_cmd = Proc.new { "./server -p #{port} -f #{config}" }

  s.color = 33 # 30~37

  # Service is ready when this regexp matches.
  s.loaded_cue = /Server started/
end
```

Fix config file path for web service
user
```ruby
require 'service_manager'

ServiceManager.define_service 'image-search' do |s|
  s.host = 'localhost'
  s.port = 5858

  s.cwd = File.expand_path '../../../build/server', __FILE__
  config = File.join s.cwd, 'config.yml'
  s.start_cmd = Proc.new { "./server -p #{port} -f #{config}" }

  s.color = 33 # 30~37

  # Service is ready when this regexp matches.
  s.loaded_cue = /Server started/
end
```
assistant