summarylogtreecommitdiffstats
path: root/nextcloud-news-updater.ini
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloud-news-updater.ini')
-rw-r--r--nextcloud-news-updater.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/nextcloud-news-updater.ini b/nextcloud-news-updater.ini
new file mode 100644
index 000000000000..09eb200fdf02
--- /dev/null
+++ b/nextcloud-news-updater.ini
@@ -0,0 +1,20 @@
+[updater]
+# only needed when using the REST API
+user = admin
+# only needed when using the REST API
+password = admin
+# how many threads to use
+threads = 10
+# update interval in seconds
+interval = 900
+# 'info' for logging accessed urls, 'error' to only log errors
+loglevel = error
+# absolute path or url to nextcloud instance (url, when using the REST API)
+url = /path/to/nextcloud
+# absolute path to custom php.ini
+#phpini = /path/to/custom/php.ini
+# v1-2 for nextcloud-app-news < 9.0.0, v2 for nextcloud-app-news >= 9.0.0
+apilevel = v1-2
+# 'endless' (script handles update interval itself) or 'singlerun' (when using systemd timer)
+mode = endless
+