Symlinking Tmp Folder

10 views
Skip to first unread message

Tom Rossi

unread,
Apr 9, 2012, 1:23:33 PM4/9/12
to railsmachin...@googlegroups.com
Whenever I do a deploy the capistrano deploy, I restart my delayed job and end up with a new process running, but the old one is never stopped.  I'm thinking the issue is related to the location of the pid.

My moonshine config has the following shared children:

:shared_children:
- system
- log
- pids
- config
- tmp

But I still end up with a tmp folder that is not a sym link.  In fact, I have a tmp/ folder that contains a tmp symlink within it.

What should that shared_children config look like to make a symlink out of the tmp folder?

Thanks!
Tom

Tom Rossi

unread,
Apr 10, 2012, 10:24:27 AM4/10/12
to railsmachin...@googlegroups.com
After poking around, I'm definitely able to confirm that after I deploy I get a brand new tmp/pids folder, rather than a symlink to the shared/pids folder.  That is making it so the delayed job script can't locate the pid to restart.  Where should I be looking in my configuration?
Reply all
Reply to author
Forward
0 new messages