[ARVADOS] updated: b13ad9d7173ac5dff945d4a2ec572510ff0fd5da

Git user git at public.curoverse.com
Mon Oct 31 16:06:14 EDT 2016


Summary of changes:
 services/dockercleaner/arvados-docker-cleaner.service | 4 ++++
 1 file changed, 4 insertions(+)

       via  b13ad9d7173ac5dff945d4a2ec572510ff0fd5da (commit)
      from  4e9fd075b8136613e7edbb0465bcb96ccf5b1f45 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b13ad9d7173ac5dff945d4a2ec572510ff0fd5da
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Oct 31 15:23:53 2016 -0400

    10343: Add comment about unwieldy ExecStart command.

diff --git a/services/dockercleaner/arvados-docker-cleaner.service b/services/dockercleaner/arvados-docker-cleaner.service
index 466e971..0310582 100644
--- a/services/dockercleaner/arvados-docker-cleaner.service
+++ b/services/dockercleaner/arvados-docker-cleaner.service
@@ -9,6 +9,10 @@ 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/python33/root/bin/arvados-docker-cleaner ]; then exec scl enable python33 arvados-docker-cleaner; else exec arvados-docker-cleaner; fi'
 
 [Install]

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list