Commit 4c390a3d authored by Lucas Kanashiro's avatar Lucas Kanashiro

debian/osb-api.prerm: stop the new obsapi systemd unit files

parent b76eb761
......@@ -23,8 +23,9 @@ open-build-service (2.9.4-3) UNRELEASED; urgency=medium
* debian/README.Debian: add instructions on how to upgrade an exitent instance
* debian/rake-tasks.sh: stop all running processes from the old installation
* debian/obs-api.postrm: stop obsapi systemd services
* debian/osb-api.prerm: stop the new obsapi systemd unit files
-- Lucas Kanashiro <kanashiro@debian.org> Fri, 12 Apr 2019 15:56:45 -0300
-- Lucas Kanashiro <kanashiro@debian.org> Fri, 12 Apr 2019 16:01:19 -0300
open-build-service (2.9.4-2) unstable; urgency=medium
......
......@@ -9,7 +9,15 @@ case "$1" in
. /usr/share/dbconfig-common/dpkg/prerm.mysql
dbc_go obs-api $@
fi
deb-systemd-invoke stop obsapidelayed >/dev/null || true
deb-systemd-invoke stop obsapi-clockwork.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-consistency_check.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-default.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-issuetracking.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-mailers.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-project_log_rotate.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-quick.service >/dev/null || true
deb-systemd-invoke stop obsapi-delayedjob-queue-releasetracking.service >/dev/null || true
;;
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment