init.d script doesn't support other directories then /home/...
Created by: phortx
The init script uses following path configuration:
app_root="/home/$app_user/gitlab"
pid_path="$app_root/tmp/pids"
socket_path="$app_root/tmp/sockets"
web_server_pid_path="$pid_path/unicorn.pid"
sidekiq_pid_path="$pid_path/sidekiq.pid"
Those are relative to app_root
You can change app_root
in the gitlab.default file, but this file is read after the variables above are assigned. That means that app_root
is correct, but the other paths are still wrong.
So you have to write the whole path config in the default script or move the inclusion default script upwards (we did the last one in our installation).