Fixes #7163, copy init script while upgrading (stable branch)

Init script needs to be updated while upgrading to GitLab 7.0.