Commit b2401650 authored by Holger Levsen's avatar Holger Levsen
Browse files

fixup: reproducible Debian: automatically cleanup failed rb-diffoscope* user...


fixup: reproducible Debian: automatically cleanup failed rb-diffoscope* user services, if there are too many failures

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent e829e6e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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."