From ec4d2b9704df16e3ffe4256b3eae6b7bd8d25807 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Sun, 5 Dec 2021 13:33:26 +0000 Subject: [PATCH] Override docker-registry service Prevent the docker-registry from starting when package is installed. Signed-off-by: Charles Short --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 8383ccd..f02c9ef 100755 --- a/debian/rules +++ b/debian/rules @@ -17,5 +17,9 @@ override_dh_auto_test: # health/checks hit the internet, and thus fail #DH_GOLANG_EXCLUDES='distribution/registry/handlers health/checks' dh_auto_test -- -test.short +override_dh_installsystemd: + dh_installsystemd -p docker-registry --no-enable docker-registry.service + %: dh $@ --buildsystem=golang --with=golang + -- 2.30.2