Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Absolute path to log and pid files don't play nice with chdir option in cluster.

#24

When starting a cluster like this:

thin start -e production -s 2 -S /var/run/thin.sock --pid /var/run/thin.pid -l /var/log/thin.log -c /u/apps/blog -D 

The chdir option is concatenated w/ the pid and log file patch which are already absolute path

Starting server on /var/run/thin.0.sock ... 
thin start --environment="production" --pid="/u/apps/blog/var/run/thin. 
0.pid" --chdir="/u/slate" --daemonize --timeout=60 --socket="/var/run/ 
thin.0.sock" --log="/u/apps/blog/var/log/thin.0.log" 
Starting server on /var/run/thin.1.sock ... 
thin start --environment="production" --pid="/u/apps/blog/var/run/thin. 
1.pid" --chdir="/u/slate" --daemonize --timeout=60 --socket="/var/run/ 
thin.1.sock" --log="/u/apps/blog/var/log/thin.1.log"

It works, but notice that the pid and log files that thin actually uses are not where I specified.

Reported by Edmund: http://groups.google.com/group/t...

Reported by macournoyer · January 27th, 2008 @ 04:02 PM

State: resolved
Milestone: 0.6.2
Assigned to: macournoyer macournoyer

Activity

  1. macournoyer
    macournoyer
    • State changed from new to resolved

    fixed on git head

    January 27th, 2008 @ 08:38 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.