[Git][qa/jenkins.debian.net][master] fixup: reproducible Debian: automatically cleanup failed rb-diffoscope* user...

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Apr 10 08:53:48 BST 2024



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
b2401650 by Holger Levsen at 2024-04-10T09:53:39+02:00
fixup: reproducible Debian: automatically cleanup failed rb-diffoscope* user services, if there are too many failures

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_node_health_check.sh


Changes:

=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -211,7 +211,7 @@ if ! systemctl --user is-system-running > /dev/null; then
 		 # only resetting failed rb-diffoscope*.services
 		 for SCOPE in $(grep rb-diffoscope $SERVICES| awk '{ print $2} ') ; do
 			echo "$(date -u) - resetting failed $SCOPE..."
-		        sudo systemctl reset-failed $SCOPE
+		        systemctl --user reset-failed $SCOPE
 		 done
 	else
 		echo "Manual cleanup needed."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b2401650a307e7f48a9fc92d1e86686f02104f00

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b2401650a307e7f48a9fc92d1e86686f02104f00
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20240410/3254490d/attachment.htm>


More information about the Qa-jenkins-scm mailing list