summarylogtreecommitdiffstats
path: root/gitlab-post.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-post.sh')
-rw-r--r--gitlab-post.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab-post.sh b/gitlab-post.sh
new file mode 100644
index 000000000000..0d59f30fe030
--- /dev/null
+++ b/gitlab-post.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+(cd /usr/share/webapps/gitlab ; su -s /bin/sh gitlab -c "$(cat environment | xargs) bundle-2.7 exec rake db:migrate")
+systemctl start gitlab.target