From c0f69ce4e7fab0fbf412458408c93455429b49c1 Mon Sep 17 00:00:00 2001 From: escoand Date: Sun, 20 Oct 2024 21:39:16 +0200 Subject: [PATCH] add nextcloud cron quadlet --- systemd/nextcloud-cron.container | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/nextcloud-cron.container diff --git a/systemd/nextcloud-cron.container b/systemd/nextcloud-cron.container new file mode 100644 index 0000000..4446f1d --- /dev/null +++ b/systemd/nextcloud-cron.container @@ -0,0 +1,15 @@ +[Unit] +Description=Nextcloud cron +After=mariadb.service +Wants=mariadb.service + +[Container] +ContainerName=nextcloud-cron +Entrypoint=/cron.sh +Volume=nextcloud_app:/var/www/html:z +Volume=nextcloud_apps:/var/www/html/custom_apps:z +Volume=nextcloud_config:/var/www/html/config:z +Volume=nextcloud_data:/var/www/html/data:z + +[Install] +WantedBy=multi-user.target default.target \ No newline at end of file