mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
fix nc-scan-auto
This commit is contained in:
parent
e0d9aea83c
commit
c5c5a8eab0
@ -19,6 +19,7 @@ DESCRIPTION="Scan NC for externally modified files"
|
||||
install()
|
||||
{
|
||||
cat > /usr/local/bin/ncp-scan <<EOF
|
||||
#!/bin/bash
|
||||
cd /var/www/nextcloud
|
||||
sudo -u www-data php occ files:scan --all
|
||||
EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user