Better init.d script check

Hi, 

i've got a small update for the init.d script check, so that it checks only the version of the script and not the whole content. The old check always failed for me, because my gitlab path is not within /home/gitlab/gitlab, so i had to edit the init.d script

Cheers,