I'm using Rocketeer for deployment on a server that is powered by WHM/cPanel. I'm having an issue where I'm deploying my app to ~/mysite.com
where Rockteer adds a version of the site in ~/mysite.com/releases/GIT-COMMIT-HASH
and symlinks ~/mysite.com/current
to the latest release.
I'm trying to figure out how to make ~/public_html
for a given user a symlink to this current directory and there seems to be a background process that breaks the symlink every night and recreates the standard ~/public_html/cgi-bin
Is there a way to work around this or setup a subdomain in cpanel to reference a home directory which is a symlink?
If it were up to me, I wouldn't be using WHM/cPanel...