This commit is contained in:
2023-02-24 09:09:49 +01:00
commit 77bd2e44bd
27 changed files with 524 additions and 0 deletions

9
debian/apache/occ vendored Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
if [ $(id -u) -eq 0 ] || [ $(id -u) -eq 33 ];then
OPT="$@"
su www-data -s /bin/sh -c "/usr/bin/php /var/www/nextcloud/occ $OPT"
else
echo "Please run as root"
fi