diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-03-25 20:55:53 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-03-25 20:55:53 +0100 |
commit | e328d1bb0fe0f08b2f993a5a933307b77ad95c29 (patch) | |
tree | c612f8062fade03d2cc30649c62ea765df57541e /roles/nextcloud/templates/run-cron.sh.j2 | |
parent | sk-cloudia: new nextcloud instnace next.skillz.biz (diff) |
move some roles to app/
Diffstat (limited to 'roles/nextcloud/templates/run-cron.sh.j2')
-rw-r--r-- | roles/nextcloud/templates/run-cron.sh.j2 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/roles/nextcloud/templates/run-cron.sh.j2 b/roles/nextcloud/templates/run-cron.sh.j2 deleted file mode 100644 index 9936bad1..00000000 --- a/roles/nextcloud/templates/run-cron.sh.j2 +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -{% if kubernetes_cri_socket is defined %} -export CONTAINER_RUNTIME_ENDPOINT="{{ kubernetes_cri_socket }}" -{% endif %} - -POD_NAME="{{ item }}-$(hostname)" -POD_ID=$(crictl pods --name "$POD_NAME" --state ready -q) -CONTAINER_ID=$(crictl ps --pod "$POD_ID" --name nextcloud -q) - -exec crictl exec "$CONTAINER_ID" php -f /var/www/html/cron.php |