[ARVADOS] created: 2.1.0-18-g3251e763c

Git user git at public.arvados.org
Mon Oct 19 13:09:17 UTC 2020


        at  3251e763c908082944e960aeac3e45dd593b53c1 (commit)


commit 3251e763c908082944e960aeac3e45dd593b53c1
Author: Javier Bértoli <jbertoli at curii.com>
Date:   Mon Oct 19 10:08:08 2020 -0300

    fix(crunch-dispatch-local): add missing crunch-run.sh file
    
    refs #16995 and #16996
    Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at curii.com>

diff --git a/services/crunch-dispatch-local/crunch-run.sh b/services/crunch-dispatch-local/crunch-run.sh
new file mode 100755
index 000000000..6e323a4a1
--- /dev/null
+++ b/services/crunch-dispatch-local/crunch-run.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+exec /usr/bin/crunch-run -container-enable-networking=default -container-network-mode=host $@

commit e22b49be2a44c23ed23c7ddc8c2602c15d395dff
Author: Javier Bértoli <jbertoli at curii.com>
Date:   Mon Oct 19 10:06:18 2020 -0300

    fix(crunch-dispatch-local): add missing service file
    
    refs #16996
    Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at curii.com>

diff --git a/services/crunch-dispatch-local/crunch-dispatch-local.service b/services/crunch-dispatch-local/crunch-dispatch-local.service
new file mode 100644
index 000000000..07b5bf6c0
--- /dev/null
+++ b/services/crunch-dispatch-local/crunch-dispatch-local.service
@@ -0,0 +1,29 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+[Unit]
+Description=Arvados Crunch Dispatcher for LOCAL service
+Documentation=https://doc.arvados.org/
+After=network.target
+
+# systemd==229 (ubuntu:xenial) obeys StartLimitInterval in the [Unit] section
+StartLimitInterval=0
+
+# systemd>=230 (debian:9) obeys StartLimitIntervalSec in the [Unit] section
+StartLimitIntervalSec=0
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/arvados/environment
+ExecStart=/usr/bin/crunch-dispatch-local -poll-interval=1 -crunch-run-command=/usr/local/bin/crunch-run.sh
+# Set a reasonable default for the open file limit
+LimitNOFILE=65536
+Restart=always
+RestartSec=1
+LimitNOFILE=1000000
+
+# systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section
+StartLimitInterval=0
+
+[Install]
+WantedBy=multi-user.target

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list