2 Description=Arvados Docker Image Cleaner
3 Documentation=https://doc.arvados.org/
5 AssertPathExists=/etc/arvados/docker-cleaner/docker-cleaner.json
11 RestartPreventExitStatus=2
13 # This unwieldy ExecStart command detects at runtime whether
14 # arvados-docker-cleaner is installed with the Python 3.3 Software
15 # Collection, and if so, invokes it with the "scl" wrapper.
16 ExecStart=/bin/sh -c 'if [ -e /opt/rh/python33/root/bin/arvados-docker-cleaner ]; then exec scl enable python33 arvados-docker-cleaner; else exec arvados-docker-cleaner; fi'
19 WantedBy=multi-user.target