This is no longer needed that we no longer support CentOS 7.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
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