From 5375d409755db9d64f350656f9987164db04f047 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 1 Jan 2024 16:44:50 +0100 Subject: feat: Add meta package for nextcloud It will help me to keep some configuration versioned. --- apks/nextcloud-ext/nextcloud-ext.cron | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 apks/nextcloud-ext/nextcloud-ext.cron (limited to 'apks/nextcloud-ext/nextcloud-ext.cron') diff --git a/apks/nextcloud-ext/nextcloud-ext.cron b/apks/nextcloud-ext/nextcloud-ext.cron new file mode 100755 index 0000000..a989082 --- /dev/null +++ b/apks/nextcloud-ext/nextcloud-ext.cron @@ -0,0 +1,6 @@ +#!/bin/sh + +# Run only when nextcloud service is started. +if rc-service nextcloud -q status >/dev/null 2>&1; then + su nextcloud -s /bin/sh -c 'occ preview:pre-generate' +fi -- cgit v1.2.3