Project

General

Profile

Redmine PID location

Added by Greg Sieranski almost 12 years ago

Hi All,
I apologize if this has been asked before. Where is the Redmine .pid file created and is it possible to change it's location? I have not been able to find it when running webrick and I am wondering if I can set it with the --pidfile option of start-stop-daemon.

Currently I am just testing with WebRick and some of the scripts I have seem just seem to do the following:

PIDFILE="/var/run/${program}.pid"

echo `pgrep -f "ruby script/server ${server} -e production -p ${port} ${other_opts}"` > ${PIDFILE}

Is this how it would work with other servers?

Any help would be greatly appreciated!

Greg