2 Description=Arvados Docker Image Cleaner
3 Documentation=https://doc.arvados.org/
5 AssertPathExists=/etc/arvados/docker-cleaner/docker-cleaner.json
9 StartLimitIntervalSec=0
15 RestartPreventExitStatus=2
17 # This unwieldy ExecStart command detects at runtime whether
18 # arvados-docker-cleaner is installed with the Python 3.3 Software
19 # Collection, and if so, invokes it with the "scl" wrapper.
20 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'
23 WantedBy=multi-user.target