9 lines
189 B
SYSTEMD
9 lines
189 B
SYSTEMD
|
[Unit]
|
||
|
Description=Pre-Generate Nextcloud preview thumbnails
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/php /var/lib/nextcloud/webroot/occ preview:pre-generate
|
||
|
User=www-data
|
||
|
Group=www-data
|