summarylogtreecommitdiffstats
path: root/gitlab-post.hook
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-post.hook')
-rw-r--r--gitlab-post.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/gitlab-post.hook b/gitlab-post.hook
new file mode 100644
index 000000000000..41ce467cdb18
--- /dev/null
+++ b/gitlab-post.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = gitlab
+
+[Action]
+Description = Upgrading gitlab database and restarting services
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/gitlab-post.sh