summarylogtreecommitdiffstats
path: root/gitlab-pre.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-pre.hook
downloadaur-8a2807e871b1ce0faf8c5bf0683c2892da1e7ff5.tar.gz
Initial upload: gitlab-upgrade-hook 1-1
Diffstat (limited to 'gitlab-pre.hook')
-rw-r--r--gitlab-pre.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/gitlab-pre.hook b/gitlab-pre.hook
new file mode 100644
index 000000000000..236e37d2d94f
--- /dev/null
+++ b/gitlab-pre.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = gitlab
+
+[Action]
+Description = Stopping gitlab services
+When = PreTransaction
+Exec = /usr/bin/systemctl stop gitlab-gitaly.service gitlab-mailroom.service gitlab-puma.service gitlab-sidekiq.service gitlab-workhorse.service