Yes you can specify the PID file, if you look at the source for the
lib/starling/starling_runner.rb you can see how the options are parsed
for the command line. The same form, with a couple changes, is used
for the YAML config, ie :logger = log_file and :path = queue_path
Command Switch YAML Config Label Type
--queue_path queue_path String
--host host String
--port port Integer
-d daemonize true|false
--pid pid_file String
--user user Integer
--group group Integer
--log log_file String
--syslog syslog_channel String
-v log_level Integer or String, if String
then is a Logger log_level; debug, info, warn, etc
--timeout timeout Integer
all these keys need to be under the 'starling' key, so your YAML file
would look like
---
starling:
queue_path: spool/starling
pid_file: pids/starling.pid
log_file: logs/starling.log
daemonize: true
I tried this with `starling` v0.9.8 but it didn't seem to like it with
daemonize, using `starling-starling` v0.9.9 it seems to work just fine
though.
Geoff