summarylogtreecommitdiffstats
path: root/nextcloud-preview-generate-all.service
diff options
context:
space:
mode:
authorDominik Schrempf2018-12-02 11:29:32 +0100
committerDominik Schrempf2018-12-02 11:29:32 +0100
commitc91db4445235ddfa452d3f094bf698626d7db169 (patch)
tree0d07617b7c6aa6d2921cd664d6998b711e172241 /nextcloud-preview-generate-all.service
parent17fb72ea9c4e087138d762707fc3e85258041084 (diff)
downloadaur-c91db4445235ddfa452d3f094bf698626d7db169.tar.gz
Improve file naming, documentation; add preview:generate-all.
Diffstat (limited to 'nextcloud-preview-generate-all.service')
-rw-r--r--nextcloud-preview-generate-all.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/nextcloud-preview-generate-all.service b/nextcloud-preview-generate-all.service
new file mode 100644
index 00000000000..b18c0be410d
--- /dev/null
+++ b/nextcloud-preview-generate-all.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Nextcloud; generate previews for all files
+
+[Service]
+User=http
+ExecStart=/usr/share/webapps/nextcloud/occ preview:generate-all
+
+[Install]
+WantedBy=basic.target