Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Customize location of PID file #1

Open
ryanb opened this issue Jun 22, 2009 · 0 comments
Open

Customize location of PID file #1

ryanb opened this issue Jun 22, 2009 · 0 comments

Comments

@ryanb
Copy link
Owner

ryanb commented Jun 22, 2009

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant