ryanb/xapit-sync

Customize location of PID file

Opened this issue · 0 comments

Allow PID file location to be customized:

XapitSync.pid_path = "#{Rails.root}/tmp/custom_path/xapit_sync.pid"

The directories should be created if they do not exist.

Also, the path should default to tmp/pids/xapit_sync.pid instead of tmp/xapit_sync.pid.