summarylogtreecommitdiffstats
path: root/gitlab-post.hook
diff options
context:
space:
mode:
authorCaleb Maclennan2021-05-07 21:46:35 +0300
committerCaleb Maclennan2021-05-07 21:51:03 +0300
commit8a2807e871b1ce0faf8c5bf0683c2892da1e7ff5 (patch)
tree93b57813fcd699ebd9ec53a500fb7481f65a90cf /gitlab-post.hook
downloadaur-8a2807e871b1ce0faf8c5bf0683c2892da1e7ff5.tar.gz
Initial upload: gitlab-upgrade-hook 1-1
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 00000000000..41ce467cdb1
--- /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