diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2024-01-01 16:44:50 +0100 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2024-01-01 16:52:39 +0100 |
commit | 5375d409755db9d64f350656f9987164db04f047 (patch) | |
tree | 6ca03c571be676bc1b0babd6f35b931146504d8c /apks/nextcloud-ext/nextcloud-ext.cron | |
parent | bb43ffe016b1d6df34f5b77bb04c27a89b537ef4 (diff) | |
download | apkbuilds-5375d409755db9d64f350656f9987164db04f047.tar.gz apkbuilds-5375d409755db9d64f350656f9987164db04f047.tar.bz2 apkbuilds-5375d409755db9d64f350656f9987164db04f047.zip |
feat: Add meta package for nextcloud
It will help me to keep some configuration versioned.
Diffstat (limited to 'apks/nextcloud-ext/nextcloud-ext.cron')
-rwxr-xr-x | apks/nextcloud-ext/nextcloud-ext.cron | 6 |
1 files changed, 6 insertions, 0 deletions
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 |