From bdb24aacd6be5584fefc202452402ff4162c69ef Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Sun, 28 Jan 2024 23:05:20 -0500 Subject: [PATCH] 21361: Remove SCL support from arvados-docker-cleaner ExecStart This is no longer needed that we no longer support CentOS 7. Arvados-DCO-1.1-Signed-off-by: Brett Smith --- services/dockercleaner/arvados-docker-cleaner.service | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/services/dockercleaner/arvados-docker-cleaner.service b/services/dockercleaner/arvados-docker-cleaner.service index 1aceb11165..819c920ff2 100644 --- a/services/dockercleaner/arvados-docker-cleaner.service +++ b/services/dockercleaner/arvados-docker-cleaner.service @@ -13,11 +13,7 @@ Type=simple Restart=always RestartSec=10s RestartPreventExitStatus=2 -# -# This unwieldy ExecStart command detects at runtime whether -# arvados-docker-cleaner is installed with the Python 3.3 Software -# Collection, and if so, invokes it with the "scl" wrapper. -ExecStart=/bin/sh -c 'if [ -e /opt/rh/rh-python36/root/bin/arvados-docker-cleaner ]; then exec scl enable rh-python36 arvados-docker-cleaner; else exec arvados-docker-cleaner; fi' +ExecStart=/usr/bin/arvados-docker-cleaner [Install] WantedBy=multi-user.target -- 2.30.2