#!/bin/sh
+# Frontend to Gitlab Rake tasks
+#
+# http://docs.gitlab.com/ce/raketasks/
+#
set -e
# Unset ENV variables that might interfere with
done
cd /var/lib/gitlab
-exec sudo -u gitlab bundle exec rake RAILS_ENV=production "$@"
+exec sudo -u git bundle exec rake RAILS_ENV=production "$@"